tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
ocamlPackages.shared-memory-ring: use Dune 3
Vincent Laporte
3 years ago
fc8420f3
c9f035d9
+7
-5
2 changed files
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
shared-memory-ring
default.nix
lwt.nix
+5
-5
pkgs/development/ocaml-modules/shared-memory-ring/default.nix
reviewed
···
2
2
, buildDunePackage
3
3
, fetchurl
4
4
, ppx_cstruct
5
5
-
, mirage-profile
6
5
, cstruct
6
6
+
, lwt
7
7
, ounit
8
8
-
, stdlib-shims
9
8
}:
10
9
11
10
buildDunePackage rec {
12
11
pname = "shared-memory-ring";
13
12
version = "3.1.1";
13
13
+
14
14
+
duneVersion = "3";
14
15
15
16
src = fetchurl {
16
17
url = "https://github.com/mirage/shared-memory-ring/releases/download/v${version}/shared-memory-ring-${version}.tbz";
17
17
-
sha256 = "sha256-KW8grij/OAnFkdUdRRZF21X39DvqayzkTWeRKwF8uoU=";
18
18
+
hash = "sha256-KW8grij/OAnFkdUdRRZF21X39DvqayzkTWeRKwF8uoU=";
18
19
};
19
20
20
21
buildInputs = [
···
22
23
];
23
24
24
25
propagatedBuildInputs = [
25
25
-
mirage-profile
26
26
cstruct
27
27
-
stdlib-shims
28
27
];
29
28
30
29
doCheck = true;
31
30
checkInputs = [
31
31
+
lwt
32
32
ounit
33
33
];
34
34
+2
pkgs/development/ocaml-modules/shared-memory-ring/lwt.nix
reviewed
···
14
14
15
15
inherit (shared-memory-ring) version src;
16
16
17
17
+
duneVersion = "3";
18
18
+
17
19
buildInputs = [
18
20
ppx_cstruct
19
21
];