1 { lib, buildDunePackage, cstruct, sexplib, ppxlib
2 , ocaml-migrate-parsetree-2
3 , ounit, cppo, ppx_sexp_conv, cstruct-unix, cstruct-sexp
6 if lib.versionOlder (cstruct.version or "1") "3"
11 pname = "ppx_cstruct";
12 inherit (cstruct) version src meta;
14 minimalOCamlVersion = "4.08";
16 propagatedBuildInputs = [ cstruct ppxlib sexplib ];
19 nativeCheckInputs = [ cppo ];
20 checkInputs = [ ounit ppx_sexp_conv cstruct-sexp cstruct-unix ocaml-migrate-parsetree-2 ];