Merge pull request #180013 from vbgl/ocaml-duff-0.5
ocamlPackages.duff: 0.4 → 0.5
This commit is contained in:
commit
50982a1265
1 changed files with 7 additions and 9 deletions
|
@ -1,22 +1,20 @@
|
||||||
{ lib, fetchurl, buildDunePackage, fetchpatch
|
{ lib, fetchurl, buildDunePackage, ocaml
|
||||||
, stdlib-shims, bigarray-compat, fmt
|
, fmt
|
||||||
, alcotest, hxd, crowbar, bigstringaf
|
, alcotest, hxd, crowbar, bigstringaf
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "duff";
|
pname = "duff";
|
||||||
version = "0.4";
|
version = "0.5";
|
||||||
|
|
||||||
useDune2 = true;
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/mirage/duff/releases/download/v${version}/duff-v${version}.tbz";
|
url = "https://github.com/mirage/duff/releases/download/v${version}/duff-${version}.tbz";
|
||||||
sha256 = "4795e8344a2c2562e0ef6c44ab742334b5cd807637354715889741b20a461da4";
|
sha256 = "sha256-0eqpfPWNOHYjkcjXRnZUTUFF0/L9E+TNoOqKCETN5hI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ stdlib-shims bigarray-compat fmt ];
|
propagatedBuildInputs = [ fmt ];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
alcotest
|
alcotest
|
||||||
crowbar
|
crowbar
|
||||||
|
|
Loading…
Reference in a new issue