ocamlPackages.bitstring: 4.0.1 → 4.1.0
This commit is contained in:
parent
33bd43d2ea
commit
b68839485d
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "bitstring";
|
pname = "bitstring";
|
||||||
version = "4.0.1";
|
version = "4.1.0";
|
||||||
|
|
||||||
useDune2 = true;
|
useDune2 = true;
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ buildDunePackage rec {
|
||||||
owner = "xguerin";
|
owner = "xguerin";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1z7jmgljvp52lvn3ml2cp6gssxqp4sikwyjf6ym97cycbcw0fjjm";
|
sha256 = "0mghsl8b2zd2676mh1r9142hymhvzy9cw8kgkjmirxkn56wbf56b";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ stdlib-shims ];
|
propagatedBuildInputs = [ stdlib-shims ];
|
||||||
|
|
|
@ -3,6 +3,10 @@
|
||||||
, ounit
|
, ounit
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
if !lib.versionAtLeast ppxlib.version "0.18.0"
|
||||||
|
then throw "ppx_bitstring is not available with ppxlib-${ppxlib.version}"
|
||||||
|
else
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "ppx_bitstring";
|
pname = "ppx_bitstring";
|
||||||
inherit (bitstring) version useDune2 src;
|
inherit (bitstring) version useDune2 src;
|
||||||
|
|
|
@ -929,7 +929,9 @@ let
|
||||||
|
|
||||||
ppx_bap = callPackage ../development/ocaml-modules/ppx_bap { };
|
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 { };
|
ppxfind = callPackage ../development/ocaml-modules/ppxfind { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue