summaryrefslogtreecommitdiffstats
path: root/pkgs/development/chez-modules/chez-srfi/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/chez-modules/chez-srfi/default.nix')
-rw-r--r--pkgs/development/chez-modules/chez-srfi/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/pkgs/development/chez-modules/chez-srfi/default.nix b/pkgs/development/chez-modules/chez-srfi/default.nix
new file mode 100644
index 000000000000..7f88b8fe7b0b
--- /dev/null
+++ b/pkgs/development/chez-modules/chez-srfi/default.nix
@@ -0,0 +1,32 @@
+{ stdenv, fetchgit, chez }:
+
+stdenv.mkDerivation {
+ pname = "chez-srfi";
+ version = "1.0";
+
+ src = fetchgit {
+ url = "https://github.com/fedeinthemix/chez-srfi.git";
+ rev = "5770486c2a85d0e3dd4ac62a97918e7c394ea507";
+ sha256 = "1s47v7b7w0ycd2g6gyv8qbzmh4jjln5iday8n9l3m996ns8is9zj";
+ };
+
+ buildInputs = [ chez ];
+
+ buildPhase = ''
+ make PREFIX=$out CHEZ=${chez}/bin/scheme
+ '';
+
+ installPhase = ''
+ make install PREFIX=$out CHEZ=${chez}/bin/scheme
+ '';
+
+ doCheck = false;
+
+ meta = {
+ description = "This package provides a collection of SRFI libraries for Chez Scheme";
+ homepage = https://github.com/fedeinthemix/chez-srfi/;
+ maintainers = [ stdenv.lib.maintainers.jitwit ];
+ license = stdenv.lib.licenses.free;
+ };
+
+}