ocamlPackages.duff: 0.4 → 0.5

This commit is contained in:
Vincent Laporte 2022-07-02 06:54:44 +01:00
parent 990f197be1
commit 6bc3638cf4
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -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