summary refs log tree commit diff
path: root/pkgs/development/chez-modules
diff options
context:
space:
mode:
authorjitwit <51518420+jitwit@users.noreply.github.com>2019-12-11 13:40:50 -0500
committerLassulus <github@lassul.us>2019-12-11 19:40:50 +0100
commitbbd6003dd78a73a4f76d674387bd2b259b483992 (patch)
treeae6d06201ec00c645252f838df56c52601d0d8a7 /pkgs/development/chez-modules
parent93696e3c1feb0ffe91f9c25945829fb2f854bd76 (diff)
chez-matchable: init at 20160306
Diffstat (limited to 'pkgs/development/chez-modules')
-rw-r--r--pkgs/development/chez-modules/chez-matchable/default.nix33
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/development/chez-modules/chez-matchable/default.nix b/pkgs/development/chez-modules/chez-matchable/default.nix
new file mode 100644
index 0000000000000..2b3de233f9b7c
--- /dev/null
+++ b/pkgs/development/chez-modules/chez-matchable/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, fetchFromGitHub, chez }:
+
+stdenv.mkDerivation rec {
+  pname = "chez-matchable";
+  version = "20160306";
+
+  src = fetchFromGitHub {
+    owner = "fedeinthemix";
+    repo = "chez-matchable";
+    rev = "v${version}";
+    sha256 = "02qn7x348p23z1x5lwhkyj7i8z6mgwpzpnwr8dyina0yzsdkr71s";
+  };
+
+  buildInputs = [ chez ];
+
+  buildPhase = ''
+    make PREFIX=$out CHEZ=${chez}/bin/scheme
+  '';
+
+  installPhase = ''
+    make install PREFIX=$out CHEZ=${chez}/bin/scheme
+  '';
+
+  doCheck = false;
+
+  meta = {
+    description = "This is a Library for ChezScheme providing the protable hygenic pattern matcher by Alex Shinn";
+    homepage = https://github.com/fedeinthemix/chez-matchable/;
+    maintainers = [ stdenv.lib.maintainers.jitwit ];
+    license = stdenv.lib.licenses.publicDomain;
+  };
+
+}