python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / shared-memory-ring / default.nix
blobbaeda2d1b15253c48ab7c5570f9ced9065dd25fa
1 { lib
2 , buildDunePackage
3 , fetchurl
4 , ppx_cstruct
5 , mirage-profile
6 , cstruct
7 , ounit
8 , stdlib-shims
9 }:
11 buildDunePackage rec {
12   pname = "shared-memory-ring";
13   version = "3.1.1";
15   src = fetchurl {
16     url = "https://github.com/mirage/shared-memory-ring/releases/download/v${version}/shared-memory-ring-${version}.tbz";
17     sha256 = "sha256-KW8grij/OAnFkdUdRRZF21X39DvqayzkTWeRKwF8uoU=";
18   };
20   nativeBuildInputs = [
21     ppx_cstruct
22   ];
24   propagatedBuildInputs = [
25     mirage-profile
26     cstruct
27     stdlib-shims
28   ];
30   doCheck = true;
31   checkInputs = [
32     ounit
33   ];
35   meta = with lib; {
36     description = "Shared memory rings for RPC and bytestream communications";
37     license = licenses.isc;
38     homepage = "https://github.com/mirage/shared-memory-ring";
39     maintainers = [ maintainers.sternenseemann ];
40   };