summary refs log tree commit diff
path: root/pkgs/development/interpreters
diff options
context:
space:
mode:
authorSamuel Leathers <disasm@gmail.com>2018-05-19 21:38:39 -0400
committerGitHub <noreply@github.com>2018-05-19 21:38:39 -0400
commitcaa14144825abd319b7f5406d20f8db24231273c (patch)
tree8fb80226a7b7cf33fc455b5f75599c7a8922ef03 /pkgs/development/interpreters
parent9a1fac43e66cabb7493ad565ce4a8449d416d304 (diff)
parentae89ef24aac04cfe533ceec65aa7220ca94a6102 (diff)
downloadnixlib-caa14144825abd319b7f5406d20f8db24231273c.tar
nixlib-caa14144825abd319b7f5406d20f8db24231273c.tar.gz
nixlib-caa14144825abd319b7f5406d20f8db24231273c.tar.bz2
nixlib-caa14144825abd319b7f5406d20f8db24231273c.tar.lz
nixlib-caa14144825abd319b7f5406d20f8db24231273c.tar.xz
nixlib-caa14144825abd319b7f5406d20f8db24231273c.tar.zst
nixlib-caa14144825abd319b7f5406d20f8db24231273c.zip
Merge pull request #40770 from mnacamura/gauche
gauche: init at 0.9.5
Diffstat (limited to 'pkgs/development/interpreters')
-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;
+  };
+}