Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
416 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildDunePackage,
ocaml,
alcotest,
cstruct,
sexplib,
}:
if lib.versionOlder (cstruct.version or "1") "3" then
cstruct
else
buildDunePackage {
pname = "cstruct-sexp";
inherit (cstruct) version src meta;
minimalOCamlVersion = "4.08";
duneVersion = "3";
doCheck = true;
checkInputs = [ alcotest ];
propagatedBuildInputs = [
cstruct
sexplib
];
}