async: 112.24.00 -> 112.24.00/113.33.03

PPX/P4 split
This commit is contained in:
Matthew Maurer
2016-09-14 16:34:33 -04:00
parent 32367919c4
commit 1d0e6ba2df
6 changed files with 35 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
{stdenv, writeText, fetchurl, ocaml, ocplib-endian, sexplib_p4, findlib,
async ? null, lwt ? null, camlp4}:
async_p4 ? null, lwt ? null, camlp4}:
assert stdenv.lib.versionAtLeast (stdenv.lib.getVersion ocaml) "4.01";
@@ -12,9 +12,9 @@ stdenv.mkDerivation {
};
configureFlags = stdenv.lib.strings.concatStringsSep " " ((if lwt != null then ["--enable-lwt"] else []) ++
(if async != null then ["--enable-async"] else []));
(if async_p4 != null then ["--enable-async"] else []));
buildInputs = [ocaml findlib camlp4];
propagatedBuildInputs = [ocplib-endian sexplib_p4 lwt async];
propagatedBuildInputs = [ocplib-endian sexplib_p4 lwt async_p4];
createFindlibDestdir = true;
dontStrip = true;