19 lines
395 B
Nix
19 lines
395 B
Nix
|
{ lib, buildDunePackage, ocaml
|
||
|
, bitstring, ppxlib
|
||
|
, ounit
|
||
|
}:
|
||
|
|
||
|
buildDunePackage rec {
|
||
|
pname = "ppx_bitstring";
|
||
|
inherit (bitstring) version useDune2 src;
|
||
|
|
||
|
buildInputs = [ bitstring ppxlib ];
|
||
|
|
||
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||
|
checkInputs = [ ounit ];
|
||
|
|
||
|
meta = bitstring.meta // {
|
||
|
description = "Bitstrings and bitstring matching for OCaml - PPX extension";
|
||
|
};
|
||
|
}
|