aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/interpreters/gauche
diff options
context:
space:
mode:
authorMitsuhiro Nakamura <m.nacamura@gmail.com>2018-05-18 18:45:46 +0900
committerMitsuhiro Nakamura <m.nacamura@gmail.com>2018-05-19 22:29:29 +0900
commitae89ef24aac04cfe533ceec65aa7220ca94a6102 (patch)
tree3f65aa88f6e4eba0545734ad9c0c9003fb342d38 /pkgs/development/interpreters/gauche
parent70c60a2fdca8b8acfe77e7ceffe56fe98c9370a4 (diff)
gauche: init at 0.9.5
Diffstat (limited to 'pkgs/development/interpreters/gauche')
-rw-r--r--pkgs/development/interpreters/gauche/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/gauche/default.nix b/pkgs/development/interpreters/gauche/default.nix
new file mode 100644
index 000000000000..c13a26204e26
--- /dev/null
+++ b/pkgs/development/interpreters/gauche/default.nix
@@ -0,0 +1,38 @@
+{ stdenv, fetchurl, pkgconfig, texinfo, libiconv, gdbm, openssl, zlib }:
+
+stdenv.mkDerivation rec {
+ name = "gauche-${version}";
+ version = "0.9.5";
+
+ src = fetchurl {
+ url = "mirror://sourceforge/gauche/Gauche-${version}.tgz";
+ sha256 = "0g77nik15whm5frxb7l0pwzd95qlq949dym5pn5p04p17lhm72jc";
+ };
+
+ nativeBuildInputs = [ pkgconfig texinfo ];
+
+ buildInputs = [ libiconv gdbm openssl zlib ];
+
+ configureFlags = [
+ "--enable-multibyte=utf-8"
+ "--with-iconv=${libiconv}"
+ "--with-dbm=gdbm"
+ "--with-zlib=${zlib}"
+ # 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 stdenv.lib; {
+ description = "R7RS Scheme scripting engine";
+ homepage = https://practical-scheme.net/gauche/;
+ maintainers = with maintainers; [ mnacamura ];
+ license = licenses.bsd3;
+ platforms = platforms.unix;
+ };
+}