nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ buildDunePackage
2, shared-memory-ring
3, ppx_cstruct
4, cstruct
5, lwt
6, lwt-dllist
7, mirage-profile
8, ounit
9}:
10
11buildDunePackage {
12 pname = "shared-memory-ring-lwt";
13
14 inherit (shared-memory-ring) version src;
15
16 duneVersion = "3";
17
18 buildInputs = [
19 ppx_cstruct
20 ];
21
22 propagatedBuildInputs = [
23 shared-memory-ring
24 cstruct
25 lwt
26 lwt-dllist
27 mirage-profile
28 ];
29
30 doCheck = true;
31 checkInputs = [
32 ounit
33 ];
34
35 meta = shared-memory-ring.meta // {
36 description = "Shared memory rings for RPC and bytestream communications using Lwt";
37 };
38}