1 { stdenv, lib, fetchFromGitHub, autoreconfHook, gaucheBootstrap, pkg-config, texinfo
2 , libiconv, gdbm, openssl, zlib, mbedtls, cacert }:
4 stdenv.mkDerivation rec {
8 src = fetchFromGitHub {
11 rev = "release${lib.replaceChars [ "." ] [ "_" ] version}";
12 sha256 = "0ki1w7sa10ivmg51sqjskby0gsznb0d3738nz80x589033km5hmb";
15 nativeBuildInputs = [ gaucheBootstrap pkg-config texinfo autoreconfHook ];
17 buildInputs = [ libiconv gdbm openssl zlib mbedtls cacert ];
28 "--with-iconv=${libiconv}"
31 "--with-ca-bundle=${cacert}/etc/ssl/certs/ca-bundle.crt"
33 # Current slib in nixpkgs is specialized to Guile
34 # "--with-slib=${slibGuile}/lib/slib"
37 enableParallelBuilding = true;
39 # TODO: Fix tests that fail in sandbox build
43 description = "R7RS Scheme scripting engine";
44 homepage = "https://practical-scheme.net/gauche/";
45 maintainers = with maintainers; [ mnacamura ];
46 license = licenses.bsd3;
47 platforms = platforms.unix;
48 broken = stdenv.isDarwin;