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 = "ocamlmod-0.0.7";
@@ -8,7 +8,7 @@ stdenv.mkDerivation {
sha256 = "11kg7wh0gy492ma5c6bcjh6frv1a9lh9f26hiys2i0d1ky8s0ad3";
};
buildInputs = [ocaml findlib ounit];
buildInputs = [ocaml findlib];
configurePhase = "ocaml setup.ml -configure --prefix $out";
buildPhase = "ocaml setup.ml -build";