nixpkgs/pkgs/development/tools/ocaml/camlp5/default.nix

37 lines
894 B
Nix
Raw Normal View History

{ stdenv, fetchzip, ocaml }:
stdenv.mkDerivation {
2019-08-06 08:23:38 -07:00
name = "camlp5-7.08";
2016-11-29 10:11:54 -08:00
src = fetchzip {
2019-08-06 08:23:38 -07:00
url = "https://github.com/camlp5/camlp5/archive/rel708.tar.gz";
sha256 = "0b39bvr1aa7kzjhbyycmvcrwil2yjbxc84cb43zfzahx4p2aqr76";
};
buildInputs = [ ocaml ];
prefixKey = "-prefix ";
preConfigure = "configureFlagsArray=(--strict" +
2016-10-05 00:32:30 -07:00
" --libdir $out/lib/ocaml/${ocaml.version}/site-lib)";
buildFlags = "world.opt";
dontStrip = true;
2014-09-24 00:59:08 -07:00
meta = with stdenv.lib; {
description = "Preprocessor-pretty-printer for OCaml";
longDescription = ''
Camlp5 is a preprocessor and pretty-printer for OCaml programs.
It also provides parsing and printing tools.
'';
2016-11-29 10:11:54 -08:00
homepage = https://camlp5.github.io/;
2014-09-24 00:59:08 -07:00
license = licenses.bsd3;
platforms = ocaml.meta.platforms or [];
2014-09-24 00:59:08 -07:00
maintainers = with maintainers; [
z77z vbgl
];
};
}