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 ];
}