ocamlPackages.asn1-combinators: remove spurious dependency to Camlp4

This commit is contained in:
Vincent Laporte 2018-07-29 13:32:04 +00:00
parent 562a264be4
commit bbf96f8652
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F

View File

@ -1,4 +1,4 @@
{ stdenv, buildOcaml, fetchFromGitHub, ocaml, findlib
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild
, cstruct, zarith, ounit, result, topkg, ptime
}:
@ -14,12 +14,10 @@ let param =
};
in
buildOcaml rec {
name = "asn1-combinators";
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-asn1-combinators-${version}";
inherit (param) version;
minimumSupportedOcamlVersion = "4.01";
src = fetchFromGitHub {
owner = "mirleft";
repo = "ocaml-asn1-combinators";
@ -27,7 +25,7 @@ buildOcaml rec {
inherit (param) sha256;
};
buildInputs = [ ocaml findlib ounit topkg ];
buildInputs = [ ocaml findlib ocamlbuild ounit topkg ];
propagatedBuildInputs = [ result cstruct zarith ] ++ param.propagatedBuildInputs;
buildPhase = "${topkg.run} build --tests true";