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
-
{ lib, fetchFromGitHub, buildDunePackage, ocaml, dune-configurator
2
-
, result, seq
3
, mdx, ounit2, qcheck-core
4
}:
5
6
buildDunePackage rec {
7
pname = "iter";
8
-
version = "1.6";
9
10
-
duneVersion = "3";
11
12
-
src = fetchFromGitHub {
13
-
owner = "c-cube";
14
-
repo = pname;
15
-
rev = "v${version}";
16
-
sha256 = "sha256-FbM/Vk/h4wkrBjyf9/QXTvTOA0nNqsdHP1mDnVkg1is=";
17
};
18
19
-
buildInputs = [ dune-configurator ];
20
-
propagatedBuildInputs = [ result seq ];
21
-
22
-
doCheck = lib.versionAtLeast ocaml.version "4.08";
23
nativeCheckInputs = [ mdx.bin ];
24
checkInputs = [ ounit2 qcheck-core ];
25
···
1
+
{ lib, fetchurl, buildDunePackage
0
2
, mdx, ounit2, qcheck-core
3
}:
4
5
buildDunePackage rec {
6
pname = "iter";
7
+
version = "1.7";
8
9
+
minimalOCamlVersion = "4.08";
10
11
+
src = fetchurl {
12
+
url = "https://github.com/c-cube/iter/releases/download/v${version}/iter-${version}.tbz";
13
+
hash = "sha256-vtcSnPMxpBwDve1zsR6cEnUsyu3JELPt2Kwu4OEEtzA=";
0
0
14
};
15
16
+
doCheck = true;
0
0
0
17
nativeCheckInputs = [ mdx.bin ];
18
checkInputs = [ ounit2 qcheck-core ];
19