ocamlPackages.iter: 1.6 → 1.7
This commit is contained in:
parent
ffcfca42e4
commit
56376c4eee
1 changed files with 7 additions and 13 deletions
|
@ -1,25 +1,19 @@
|
||||||
{ lib, fetchFromGitHub, buildDunePackage, ocaml, dune-configurator
|
{ lib, fetchurl, buildDunePackage
|
||||||
, result, seq
|
|
||||||
, mdx, ounit2, qcheck-core
|
, mdx, ounit2, qcheck-core
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "iter";
|
pname = "iter";
|
||||||
version = "1.6";
|
version = "1.7";
|
||||||
|
|
||||||
duneVersion = "3";
|
minimalOCamlVersion = "4.08";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchurl {
|
||||||
owner = "c-cube";
|
url = "https://github.com/c-cube/iter/releases/download/v${version}/iter-${version}.tbz";
|
||||||
repo = pname;
|
hash = "sha256-vtcSnPMxpBwDve1zsR6cEnUsyu3JELPt2Kwu4OEEtzA=";
|
||||||
rev = "v${version}";
|
|
||||||
sha256 = "sha256-FbM/Vk/h4wkrBjyf9/QXTvTOA0nNqsdHP1mDnVkg1is=";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ dune-configurator ];
|
doCheck = true;
|
||||||
propagatedBuildInputs = [ result seq ];
|
|
||||||
|
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
|
||||||
nativeCheckInputs = [ mdx.bin ];
|
nativeCheckInputs = [ mdx.bin ];
|
||||||
checkInputs = [ ounit2 qcheck-core ];
|
checkInputs = [ ounit2 qcheck-core ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue