a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
17 lines
356 B
Nix
17 lines
356 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;
|
|
nativeCheckInputs = [ alcotest ];
|
|
|
|
propagatedBuildInputs = [ cstruct sexplib ];
|
|
}
|