c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
17 lines
350 B
Nix
17 lines
350 B
Nix
{ lib, buildDunePackage, ocaml, alcotest, cstruct, sexplib }:
|
|
|
|
if lib.versionOlder (cstruct.version or "1") "3"
|
|
then cstruct
|
|
else
|
|
|
|
buildDunePackage rec {
|
|
pname = "cstruct-sexp";
|
|
inherit (cstruct) version src meta;
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
|
|
doCheck = true;
|
|
checkInputs = [ alcotest ];
|
|
|
|
propagatedBuildInputs = [ cstruct sexplib ];
|
|
}
|