depot/third_party/nixpkgs/pkgs/development/ocaml-modules/bitstring/ppx.nix
Default email 2969ca571a Project import generated by Copybara.
GitOrigin-RevId: 257cbbcd3ab7bd96f5d24d50adc807de7c82e06d
2021-01-09 11:05:03 +01:00

18 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";
};
}