python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / ocaml-modules / rpclib / default.nix
blob73d899eafa938c5ab66a6e6b07433fb09dd9964e
1 { lib, fetchurl, buildDunePackage, ocaml
2 , alcotest
3 , base64, cmdliner, rresult, xmlm, yojson
4 }:
6 buildDunePackage rec {
7   pname = "rpclib";
8   version = "8.1.0";
10   useDune2 = true;
12   src = fetchurl {
13     url = "https://github.com/mirage/ocaml-rpc/releases/download/v${version}/rpclib-v${version}.tbz";
14     sha256 = "0fbajg8wq8hjhkvvfnq68br0m0pa8zf2qzadhfgi2nnr9713rada";
15   };
17   buildInputs = [ cmdliner yojson ];
18   propagatedBuildInputs = [ base64 rresult xmlm ];
19   checkInputs = [ alcotest ];
21   doCheck = lib.versionAtLeast ocaml.version "4.08";
23   meta = with lib; {
24     homepage = "https://github.com/mirage/ocaml-rpc";
25     description = "Light library to deal with RPCs in OCaml";
26     license = licenses.isc;
27     maintainers = [ maintainers.vyorkin ];
28   };