ocamlPackages.asn1-combinators: remove spurious dependency to Camlp4
This commit is contained in:
parent
562a264be4
commit
bbf96f8652
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildOcaml, fetchFromGitHub, ocaml, findlib
|
{ stdenv, fetchFromGitHub, ocaml, findlib, ocamlbuild
|
||||||
, cstruct, zarith, ounit, result, topkg, ptime
|
, cstruct, zarith, ounit, result, topkg, ptime
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -10,16 +10,14 @@ let param =
|
|||||||
} else {
|
} else {
|
||||||
version = "0.1.3";
|
version = "0.1.3";
|
||||||
sha256 = "0hpn049i46sdnv2i6m7r6m6ch0jz8argybh71wykbvcqdby08zxj";
|
sha256 = "0hpn049i46sdnv2i6m7r6m6ch0jz8argybh71wykbvcqdby08zxj";
|
||||||
propagatedBuildInputs = [ ];
|
propagatedBuildInputs = [ ];
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
buildOcaml rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "asn1-combinators";
|
name = "ocaml${ocaml.version}-asn1-combinators-${version}";
|
||||||
inherit (param) version;
|
inherit (param) version;
|
||||||
|
|
||||||
minimumSupportedOcamlVersion = "4.01";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mirleft";
|
owner = "mirleft";
|
||||||
repo = "ocaml-asn1-combinators";
|
repo = "ocaml-asn1-combinators";
|
||||||
@ -27,7 +25,7 @@ buildOcaml rec {
|
|||||||
inherit (param) sha256;
|
inherit (param) sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ocaml findlib ounit topkg ];
|
buildInputs = [ ocaml findlib ocamlbuild ounit topkg ];
|
||||||
propagatedBuildInputs = [ result cstruct zarith ] ++ param.propagatedBuildInputs;
|
propagatedBuildInputs = [ result cstruct zarith ] ++ param.propagatedBuildInputs;
|
||||||
|
|
||||||
buildPhase = "${topkg.run} build --tests true";
|
buildPhase = "${topkg.run} build --tests true";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user