diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2014-09-13 09:33:17 +0200 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2014-09-13 12:26:07 +0200 |
commit | 829c49a686657d5779c83098506e86046db1a174 (patch) | |
tree | f055d6da938b0aedeb90d881249afec0e55cce98 /pkgs/development/compilers | |
parent | cc387fa886cb48cd375922e347ba790999f9cb74 (diff) | |
download | nixlib-829c49a686657d5779c83098506e86046db1a174.tar nixlib-829c49a686657d5779c83098506e86046db1a174.tar.gz nixlib-829c49a686657d5779c83098506e86046db1a174.tar.bz2 nixlib-829c49a686657d5779c83098506e86046db1a174.tar.lz nixlib-829c49a686657d5779c83098506e86046db1a174.tar.xz nixlib-829c49a686657d5779c83098506e86046db1a174.tar.zst nixlib-829c49a686657d5779c83098506e86046db1a174.zip |
Adds mezzo
Mezzo is a programming language in the ML tradition, which places strong emphasis on the control of aliasing and access to mutable memory. Homepage: http://protz.github.io/mezzo/
Diffstat (limited to 'pkgs/development/compilers')
-rw-r--r-- | pkgs/development/compilers/mezzo/default.nix | 29 |
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; + }; +} + + |