ocamlPackages.duff: 0.4 → 0.5

+7 -9
+7 -9
pkgs/development/ocaml-modules/duff/default.nix
··· 1 - { lib, fetchurl, buildDunePackage, fetchpatch 2 - , stdlib-shims, bigarray-compat, fmt 1 + { lib, fetchurl, buildDunePackage, ocaml 2 + , fmt 3 3 , alcotest, hxd, crowbar, bigstringaf 4 4 }: 5 5 6 6 buildDunePackage rec { 7 7 pname = "duff"; 8 - version = "0.4"; 9 - 10 - useDune2 = true; 8 + version = "0.5"; 11 9 12 10 src = fetchurl { 13 - url = "https://github.com/mirage/duff/releases/download/v${version}/duff-v${version}.tbz"; 14 - sha256 = "4795e8344a2c2562e0ef6c44ab742334b5cd807637354715889741b20a461da4"; 11 + url = "https://github.com/mirage/duff/releases/download/v${version}/duff-${version}.tbz"; 12 + sha256 = "sha256-0eqpfPWNOHYjkcjXRnZUTUFF0/L9E+TNoOqKCETN5hI="; 15 13 }; 16 14 17 - propagatedBuildInputs = [ stdlib-shims bigarray-compat fmt ]; 15 + propagatedBuildInputs = [ fmt ]; 18 16 19 - doCheck = true; 17 + doCheck = lib.versionAtLeast ocaml.version "4.08"; 20 18 checkInputs = [ 21 19 alcotest 22 20 crowbar