diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2022-07-02 06:54:44 +0100 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2022-07-03 16:07:11 +0200 |
commit | 6bc3638cf4c1b421d2aceeb598ce848b6e41af76 (patch) | |
tree | 12999dee1e9612d13378e0e285716e6e3be8aa80 /pkgs/development/ocaml-modules/duff | |
parent | 990f197be103c602f32948e1a118a0afc41e16d2 (diff) |
ocamlPackages.duff: 0.4 → 0.5
Diffstat (limited to 'pkgs/development/ocaml-modules/duff')
-rw-r--r-- | pkgs/development/ocaml-modules/duff/default.nix | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/pkgs/development/ocaml-modules/duff/default.nix b/pkgs/development/ocaml-modules/duff/default.nix index a57f8564d9e1d..27fb981de4d86 100644 --- a/pkgs/development/ocaml-modules/duff/default.nix +++ b/pkgs/development/ocaml-modules/duff/default.nix @@ -1,22 +1,20 @@ -{ lib, fetchurl, buildDunePackage, fetchpatch -, stdlib-shims, bigarray-compat, fmt +{ lib, fetchurl, buildDunePackage, ocaml +, fmt , alcotest, hxd, crowbar, bigstringaf }: buildDunePackage rec { pname = "duff"; - version = "0.4"; - - useDune2 = true; + version = "0.5"; src = fetchurl { - url = "https://github.com/mirage/duff/releases/download/v${version}/duff-v${version}.tbz"; - sha256 = "4795e8344a2c2562e0ef6c44ab742334b5cd807637354715889741b20a461da4"; + url = "https://github.com/mirage/duff/releases/download/v${version}/duff-${version}.tbz"; + sha256 = "sha256-0eqpfPWNOHYjkcjXRnZUTUFF0/L9E+TNoOqKCETN5hI="; }; - propagatedBuildInputs = [ stdlib-shims bigarray-compat fmt ]; + propagatedBuildInputs = [ fmt ]; - doCheck = true; + doCheck = lib.versionAtLeast ocaml.version "4.08"; checkInputs = [ alcotest crowbar |