about summary refs log tree commit diff
path: root/pkgs/development/compilers
diff options
context:
space:
mode:
authorMateusz Kowalczyk <mk440@bath.ac.uk>2014-09-20 23:38:47 +0100
committerMateusz Kowalczyk <mk440@bath.ac.uk>2014-09-20 23:38:47 +0100
commit1e5452865b5eff0dca54552129c13b8e96d095b8 (patch)
tree588824d52abbbb2b590be7c122836397d42074ab /pkgs/development/compilers
parentc6f28f988c930329db62cd3054c206d515b2ecb3 (diff)
parent829c49a686657d5779c83098506e86046db1a174 (diff)
downloadnixlib-1e5452865b5eff0dca54552129c13b8e96d095b8.tar
nixlib-1e5452865b5eff0dca54552129c13b8e96d095b8.tar.gz
nixlib-1e5452865b5eff0dca54552129c13b8e96d095b8.tar.bz2
nixlib-1e5452865b5eff0dca54552129c13b8e96d095b8.tar.lz
nixlib-1e5452865b5eff0dca54552129c13b8e96d095b8.tar.xz
nixlib-1e5452865b5eff0dca54552129c13b8e96d095b8.tar.zst
nixlib-1e5452865b5eff0dca54552129c13b8e96d095b8.zip
Merge pull request #4061 from vbgl/mezzo
Adds mezzo and its dependencies
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r--pkgs/development/compilers/mezzo/default.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/development/compilers/mezzo/default.nix b/pkgs/development/compilers/mezzo/default.nix
new file mode 100644
index 000000000000..183640f5985d
--- /dev/null
+++ b/pkgs/development/compilers/mezzo/default.nix
@@ -0,0 +1,29 @@
+{stdenv, fetchurl, ocaml, findlib, menhir, yojson, ulex, pprint, fix, functory}:
+
+stdenv.mkDerivation {
+
+  name = "mezzo-0.0.m8";
+
+  src = fetchurl {
+    url = https://github.com/protz/mezzo/archive/m8.tar.gz;
+    sha256 = "17mfapgqp8ssa5x9blv72zg9l561zbiwv3ikwi6nl9dd36lwkkc6";
+  };
+
+  buildInputs = [ ocaml findlib yojson menhir ulex pprint fix functory ];
+
+  createFindlibDestdir = true;
+
+  postInstall = ''
+    mkdir $out/bin
+    cp mezzo $out/bin/
+  '';
+
+  meta = with stdenv.lib; {
+    homepage = http://protz.github.io/mezzo/;
+    description = "A programming language in the ML tradition, which places strong emphasis on the control of aliasing and access to mutable memory";
+    license = licenses.gpl2;
+    platforms = ocaml.meta.platforms;
+  };
+}
+
+