ocamlPackages.bitstring: 4.0.1 → 4.1.0

This commit is contained in:
Vincent Laporte 2021-03-14 21:06:38 +01:00 committed by Vincent Laporte
parent 33bd43d2ea
commit b68839485d
3 changed files with 9 additions and 3 deletions

View file

@ -2,7 +2,7 @@
buildDunePackage rec {
pname = "bitstring";
version = "4.0.1";
version = "4.1.0";
useDune2 = true;
@ -10,7 +10,7 @@ buildDunePackage rec {
owner = "xguerin";
repo = pname;
rev = "v${version}";
sha256 = "1z7jmgljvp52lvn3ml2cp6gssxqp4sikwyjf6ym97cycbcw0fjjm";
sha256 = "0mghsl8b2zd2676mh1r9142hymhvzy9cw8kgkjmirxkn56wbf56b";
};
propagatedBuildInputs = [ stdlib-shims ];

View file

@ -3,6 +3,10 @@
, ounit
}:
if !lib.versionAtLeast ppxlib.version "0.18.0"
then throw "ppx_bitstring is not available with ppxlib-${ppxlib.version}"
else
buildDunePackage rec {
pname = "ppx_bitstring";
inherit (bitstring) version useDune2 src;

View file

@ -929,7 +929,9 @@ let
ppx_bap = callPackage ../development/ocaml-modules/ppx_bap { };
ppx_bitstring = callPackage ../development/ocaml-modules/bitstring/ppx.nix { };
ppx_bitstring = callPackage ../development/ocaml-modules/bitstring/ppx.nix {
ppxlib = ppxlib.override { version = "0.22.0"; };
};
ppxfind = callPackage ../development/ocaml-modules/ppxfind { };