Adds camlp4

Camlp4 is a software system for writing extensible parsers for
programming languages.

Camlp4 was part of the official OCaml distribution until its version
4.01.0.

Homepage: https://github.com/ocaml/camlp4
This commit is contained in:
Vincent Laporte
2014-09-22 23:24:28 +01:00
parent 27f3301650
commit d274ee3f80
13 changed files with 78 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
{stdenv, fetchurl, ocaml, findlib, ounit}:
{stdenv, fetchurl, ocaml, findlib}:
stdenv.mkDerivation {
name = "ocamlify-0.0.2";
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "1f0fghvlbfryf5h3j4as7vcqrgfjb4c8abl5y0y5h069vs4kp5ii";
};
buildInputs = [ocaml findlib ounit];
buildInputs = [ocaml findlib];
configurePhase = "ocaml setup.ml -configure --prefix $out";
buildPhase = "ocaml setup.ml -build";