Adds ocaml-pprint
Pprint is an OCaml adaptation of Wadler’s and Leijen’s prettier printer. Homepage: http://gallium.inria.fr/~fpottier/pprint/
This commit is contained in:
parent
2f0994010a
commit
ed72590004
27
pkgs/development/ocaml-modules/pprint/default.nix
Normal file
27
pkgs/development/ocaml-modules/pprint/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{stdenv, fetchurl, ocaml, findlib}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
|
||||
name = "ocaml-pprint-20140424";
|
||||
|
||||
src = fetchurl {
|
||||
url = http://gallium.inria.fr/~fpottier/pprint/pprint-20140424.tar.gz;
|
||||
sha256 = "0sc9q89dnyarcg24czyhr6ams0ylqvia3745s6rfwd2nldpygsdk";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib ];
|
||||
|
||||
createFindlibDestdir = true;
|
||||
|
||||
dontBuild = true;
|
||||
installFlags = "-C src";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = http://gallium.inria.fr/~fpottier/pprint/;
|
||||
description = "An OCaml adaptation of Wadler’s and Leijen’s prettier printer";
|
||||
license = licenses.cecill-c;
|
||||
platforms = ocaml.meta.platforms;
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -3439,6 +3439,8 @@ let
|
||||
minimal = false;
|
||||
};
|
||||
|
||||
pprint = callPackage ../development/ocaml-modules/pprint { };
|
||||
|
||||
pycaml = callPackage ../development/ocaml-modules/pycaml { };
|
||||
|
||||
opam_1_0_0 = callPackage ../development/tools/ocaml/opam/1.0.0.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user