10 if lib.versionOlder ppxlib.version "0.18.0" then
11 throw "ppx_bitstring is not available with ppxlib-${ppxlib.version}"
14 buildDunePackage rec {
15 pname = "ppx_bitstring";
16 inherit (bitstring) version src;
25 doCheck = lib.versionAtLeast ocaml.version "4.08";
26 checkInputs = [ ounit ];
28 meta = bitstring.meta // {
29 description = "Bitstrings and bitstring matching for OCaml - PPX extension";