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:
Vincent Laporte 2014-09-12 09:45:38 +02:00
parent 2f0994010a
commit ed72590004
2 changed files with 29 additions and 0 deletions

View 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 Wadlers and Leijens prettier printer";
license = licenses.cecill-c;
platforms = ocaml.meta.platforms;
};
}

View file

@ -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 { };