depot/third_party/nixpkgs/pkgs/development/ocaml-modules/shared-memory-ring/default.nix
Default email 4bac34ead1 Project import generated by Copybara.
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
2023-02-09 12:40:11 +01:00

41 lines
818 B
Nix

{ lib
, buildDunePackage
, fetchurl
, ppx_cstruct
, mirage-profile
, cstruct
, ounit
, stdlib-shims
}:
buildDunePackage rec {
pname = "shared-memory-ring";
version = "3.1.1";
src = fetchurl {
url = "https://github.com/mirage/shared-memory-ring/releases/download/v${version}/shared-memory-ring-${version}.tbz";
sha256 = "sha256-KW8grij/OAnFkdUdRRZF21X39DvqayzkTWeRKwF8uoU=";
};
buildInputs = [
ppx_cstruct
];
propagatedBuildInputs = [
mirage-profile
cstruct
stdlib-shims
];
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 ];
};
}