blob: 3b28cda15afc1fa2ad55968cd50060cabc521653 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ 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";
duneVersion = "3";
doCheck = true;
checkInputs = [ alcotest ];
propagatedBuildInputs = [ cstruct sexplib ];
}
|