tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
ocamlPackages.iter: 1.6 → 1.7
Vincent Laporte
2 years ago
56376c4e
ffcfca42
+7
-13
1 changed file
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
iter
default.nix
+7
-13
pkgs/development/ocaml-modules/iter/default.nix
···
1
1
-
{ lib, fetchFromGitHub, buildDunePackage, ocaml, dune-configurator
2
2
-
, result, seq
1
1
+
{ lib, fetchurl, buildDunePackage
3
2
, mdx, ounit2, qcheck-core
4
3
}:
5
4
6
5
buildDunePackage rec {
7
6
pname = "iter";
8
8
-
version = "1.6";
7
7
+
version = "1.7";
9
8
10
10
-
duneVersion = "3";
9
9
+
minimalOCamlVersion = "4.08";
11
10
12
12
-
src = fetchFromGitHub {
13
13
-
owner = "c-cube";
14
14
-
repo = pname;
15
15
-
rev = "v${version}";
16
16
-
sha256 = "sha256-FbM/Vk/h4wkrBjyf9/QXTvTOA0nNqsdHP1mDnVkg1is=";
11
11
+
src = fetchurl {
12
12
+
url = "https://github.com/c-cube/iter/releases/download/v${version}/iter-${version}.tbz";
13
13
+
hash = "sha256-vtcSnPMxpBwDve1zsR6cEnUsyu3JELPt2Kwu4OEEtzA=";
17
14
};
18
15
19
19
-
buildInputs = [ dune-configurator ];
20
20
-
propagatedBuildInputs = [ result seq ];
21
21
-
22
22
-
doCheck = lib.versionAtLeast ocaml.version "4.08";
16
16
+
doCheck = true;
23
17
nativeCheckInputs = [ mdx.bin ];
24
18
checkInputs = [ ounit2 qcheck-core ];
25
19