about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/ocaml-modules/bitstring/ppx.nix
blob: ee0a8c51f732e6d948d2526c02d8904cb3e4ad29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ 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";
  };
}