tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ocamlPackages.duff: 0.4 → 0.5
Vincent Laporte
3 years ago
6bc3638c
990f197b
+7
-9
1 changed file
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
duff
default.nix
+7
-9
pkgs/development/ocaml-modules/duff/default.nix
···
1
1
-
{ lib, fetchurl, buildDunePackage, fetchpatch
2
2
-
, stdlib-shims, bigarray-compat, fmt
1
1
+
{ lib, fetchurl, buildDunePackage, ocaml
2
2
+
, fmt
3
3
, alcotest, hxd, crowbar, bigstringaf
4
4
}:
5
5
6
6
buildDunePackage rec {
7
7
pname = "duff";
8
8
-
version = "0.4";
9
9
-
10
10
-
useDune2 = true;
8
8
+
version = "0.5";
11
9
12
10
src = fetchurl {
13
13
-
url = "https://github.com/mirage/duff/releases/download/v${version}/duff-v${version}.tbz";
14
14
-
sha256 = "4795e8344a2c2562e0ef6c44ab742334b5cd807637354715889741b20a461da4";
11
11
+
url = "https://github.com/mirage/duff/releases/download/v${version}/duff-${version}.tbz";
12
12
+
sha256 = "sha256-0eqpfPWNOHYjkcjXRnZUTUFF0/L9E+TNoOqKCETN5hI=";
15
13
};
16
14
17
17
-
propagatedBuildInputs = [ stdlib-shims bigarray-compat fmt ];
15
15
+
propagatedBuildInputs = [ fmt ];
18
16
19
19
-
doCheck = true;
17
17
+
doCheck = lib.versionAtLeast ocaml.version "4.08";
20
18
checkInputs = [
21
19
alcotest
22
20
crowbar