3
0
Fork 0
forked from mirrors/nixpkgs

ocamlPackages.cstruct-sexp: separate checkInputs

This commit is contained in:
Vincent Laporte 2020-04-09 18:58:29 +02:00
parent 8e0d02c073
commit 942d312a69
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -4,12 +4,12 @@ if !lib.versionAtLeast (cstruct.version or "1") "3"
then cstruct
else
buildDunePackage {
buildDunePackage rec {
pname = "cstruct-sexp";
inherit (cstruct) version src meta;
doCheck = true;
buildInputs = [ alcotest ];
checkInputs = lib.optional doCheck alcotest;
propagatedBuildInputs = [ cstruct sexplib ];
}