mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
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/
This commit is contained in:
parent
cc387fa886
commit
829c49a686
2 changed files with 31 additions and 0 deletions
29
pkgs/development/compilers/mezzo/default.nix
Normal file
29
pkgs/development/compilers/mezzo/default.nix
Normal file
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -3372,6 +3372,8 @@ let
|
|||
|
||||
merlin = callPackage ../development/tools/ocaml/merlin { };
|
||||
|
||||
mezzo = callPackage ../development/compilers/mezzo { };
|
||||
|
||||
mldonkey = callPackage ../applications/networking/p2p/mldonkey { };
|
||||
|
||||
mlgmp = callPackage ../development/ocaml-modules/mlgmp { };
|
||||
|
|
Loading…
Reference in a new issue