ocamlPackages.shared-memory-ring(-lwt): init at 3.1.0
This commit is contained in:
parent
f8e3ad15af
commit
b5f7ed7cc8
|
@ -0,0 +1,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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,37 @@
|
||||||
|
{ lib
|
||||||
|
, buildDunePackage
|
||||||
|
, shared-memory-ring
|
||||||
|
, ppx_cstruct
|
||||||
|
, cstruct
|
||||||
|
, lwt
|
||||||
|
, lwt-dllist
|
||||||
|
, mirage-profile
|
||||||
|
, ounit
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildDunePackage {
|
||||||
|
pname = "shared-memory-ring-lwt";
|
||||||
|
|
||||||
|
inherit (shared-memory-ring) version src useDune2;
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
ppx_cstruct
|
||||||
|
];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
shared-memory-ring
|
||||||
|
cstruct
|
||||||
|
lwt
|
||||||
|
lwt-dllist
|
||||||
|
mirage-profile
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
checkInputs = [
|
||||||
|
ounit
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = shared-memory-ring.meta // {
|
||||||
|
description = "Shared memory rings for RPC and bytestream communications using Lwt";
|
||||||
|
};
|
||||||
|
}
|
|
@ -1138,6 +1138,10 @@ let
|
||||||
|
|
||||||
sha = callPackage ../development/ocaml-modules/sha { };
|
sha = callPackage ../development/ocaml-modules/sha { };
|
||||||
|
|
||||||
|
shared-memory-ring = callPackage ../development/ocaml-modules/shared-memory-ring { };
|
||||||
|
|
||||||
|
shared-memory-ring-lwt = callPackage ../development/ocaml-modules/shared-memory-ring/lwt.nix { };
|
||||||
|
|
||||||
sodium = callPackage ../development/ocaml-modules/sodium { };
|
sodium = callPackage ../development/ocaml-modules/sodium { };
|
||||||
|
|
||||||
spelll = callPackage ../development/ocaml-modules/spelll { };
|
spelll = callPackage ../development/ocaml-modules/spelll { };
|
||||||
|
|
Loading…
Reference in New Issue