mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-01 09:30:20 +02:00
ed72590004
Pprint is an OCaml adaptation of Wadler’s and Leijen’s prettier printer. Homepage: http://gallium.inria.fr/~fpottier/pprint/
28 lines
633 B
Nix
28 lines
633 B
Nix
{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;
|
||
};
|
||
}
|
||
|
||
|