blob: 61c67b13f78fa0fc2b48038d0828fcdf0b2423cd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
{ stdenv, lib, fetchurl, pkg-config, texinfo, libiconv, gdbm, openssl, zlib
, mbedtls, cacert }:
stdenv.mkDerivation rec {
pname = "gauche-bootstrap";
version = "0.9.12";
src = fetchurl {
url = "https://github.com/shirok/Gauche/releases/download/release${lib.replaceStrings ["."] ["_"] version}/Gauche-${version}.tgz";
hash = "sha256-tK5kkhsHqWZhaV69WqwN7IE9GmjlRqYWCRE9eEP1thc=";
};
nativeBuildInputs = [ pkg-config texinfo ];
buildInputs = [ libiconv gdbm openssl zlib mbedtls cacert ];
postPatch = ''
patchShebangs .
'';
configureFlags = [
"--with-iconv=${libiconv}"
"--with-dbm=gdbm"
"--with-zlib=${zlib}"
"--with-ca-bundle=${cacert}/etc/ssl/certs/ca-bundle.crt"
# TODO: Enable slib
# Current slib in nixpkgs is specialized to Guile
# "--with-slib=${slibGuile}/lib/slib"
];
enableParallelBuilding = true;
# TODO: Fix tests that fail in sandbox build
doCheck = false;
meta = with lib; {
description = "R7RS Scheme scripting engine";
homepage = "https://practical-scheme.net/gauche/";
maintainers = with maintainers; [ mnacamura ];
license = licenses.bsd3;
platforms = platforms.unix;
};
}
|