2016-10-08 06:44:25 +00:00
|
|
|
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild }:
|
2014-09-12 07:45:38 +00:00
|
|
|
|
|
2014-09-21 10:02:55 +00:00
|
|
|
|
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "3.12";
|
|
|
|
|
|
2014-09-12 07:45:38 +00:00
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
|
|
|
|
|
|
name = "ocaml-pprint-20140424";
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
|
url = http://gallium.inria.fr/~fpottier/pprint/pprint-20140424.tar.gz;
|
|
|
|
|
sha256 = "0sc9q89dnyarcg24czyhr6ams0ylqvia3745s6rfwd2nldpygsdk";
|
|
|
|
|
};
|
|
|
|
|
|
2016-10-08 06:44:25 +00:00
|
|
|
|
buildInputs = [ ocaml findlib ocamlbuild ];
|
2014-09-12 07:45:38 +00:00
|
|
|
|
|
|
|
|
|
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;
|
2014-09-21 10:02:55 +00:00
|
|
|
|
maintainers = [ maintainers.vbgl ];
|
2015-12-24 17:49:07 +00:00
|
|
|
|
platforms = ocaml.meta.platforms or [];
|
2014-09-12 07:45:38 +00:00
|
|
|
|
};
|
|
|
|
|
}
|