Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 43 lines 1.1 kB view raw
1{ stdenv, lib, fetchurl, pkg-config, texinfo, libiconv, gdbm, openssl, zlib 2, mbedtls, cacert }: 3 4stdenv.mkDerivation rec { 5 pname = "gauche-bootstrap"; 6 version = "0.9.9"; 7 8 src = fetchurl { 9 url = "mirror://sourceforge/gauche/Gauche-${version}.tgz"; 10 sha256 = "1yzpszhw52vkpr65r5d4khf3489mnnvnw58dd2wsvvx7499k5aac"; 11 }; 12 13 nativeBuildInputs = [ pkg-config texinfo ]; 14 15 buildInputs = [ libiconv gdbm openssl zlib mbedtls cacert ]; 16 17 postPatch = '' 18 patchShebangs . 19 ''; 20 21 configureFlags = [ 22 "--with-iconv=${libiconv}" 23 "--with-dbm=gdbm" 24 "--with-zlib=${zlib}" 25 "--with-ca-bundle=${cacert}/etc/ssl/certs/ca-bundle.crt" 26 # TODO: Enable slib 27 # Current slib in nixpkgs is specialized to Guile 28 # "--with-slib=${slibGuile}/lib/slib" 29 ]; 30 31 enableParallelBuilding = true; 32 33 # TODO: Fix tests that fail in sandbox build 34 doCheck = false; 35 36 meta = with lib; { 37 description = "R7RS Scheme scripting engine"; 38 homepage = "https://practical-scheme.net/gauche/"; 39 maintainers = with maintainers; [ mnacamura ]; 40 license = licenses.bsd3; 41 platforms = platforms.unix; 42 }; 43}