diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/ppx_blob')
-rw-r--r-- | pkgs/development/ocaml-modules/ppx_blob/default.nix | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/development/ocaml-modules/ppx_blob/default.nix b/pkgs/development/ocaml-modules/ppx_blob/default.nix index d7d662e74a5..ac96e56d04e 100644 --- a/pkgs/development/ocaml-modules/ppx_blob/default.nix +++ b/pkgs/development/ocaml-modules/ppx_blob/default.nix @@ -1,17 +1,19 @@ -{ lib, fetchurl, buildDunePackage, ocaml, alcotest, ocaml-migrate-parsetree }: +{ lib, fetchurl, buildDunePackage, ocaml, alcotest, ppxlib }: buildDunePackage rec { pname = "ppx_blob"; - version = "0.4.0"; + version = "0.7.2"; + + useDune2 = true; src = fetchurl { url = "https://github.com/johnwhitington/${pname}/releases/download/${version}/ppx_blob-${version}.tbz"; - sha256 = "1xmslk1mwdzhy1bydgsjlcb7h544c39hvxa8lywp8w72gaggjl16"; + sha256 = "00haz1cmplk3j9ysh6j656zrldy60585fmlndmfhpd5332mxrfdw"; }; - checkInputs = lib.optional doCheck alcotest; - buildInputs = [ ocaml-migrate-parsetree ]; - doCheck = lib.versionAtLeast ocaml.version "4.03"; + checkInputs = [ alcotest ]; + propagatedBuildInputs = [ ppxlib ]; + doCheck = lib.versionAtLeast ocaml.version "4.05"; meta = with lib; { homepage = "https://github.com/johnwhitington/ppx_blob"; |