blob: 3a96d4adee4c5003346e2cfd74a23d7910984cb7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{ lib
, buildDunePackage
, fetchurl
, ppx_cstruct
, mirage-profile
, cstruct
, ounit
}:
buildDunePackage rec {
pname = "shared-memory-ring";
version = "3.1.0";
useDune2 = true;
src = fetchurl {
url = "https://github.com/mirage/shared-memory-ring/releases/download/v${version}/shared-memory-ring-v${version}.tbz";
sha256 = "06350ph3rdfvybi0cgs3h3rdkmjspk3c4375rxvbdg0kza1w22x1";
};
nativeBuildInputs = [
ppx_cstruct
];
propagatedBuildInputs = [
mirage-profile
cstruct
];
doCheck = true;
checkInputs = [
ounit
];
meta = with lib; {
description = "Shared memory rings for RPC and bytestream communications";
license = licenses.isc;
homepage = "https://github.com/mirage/shared-memory-ring";
maintainers = [ maintainers.sternenseemann ];
};
}
|