nixpkgs/pkgs/development/ocaml-modules/rpclib/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
754 B
Nix
Raw Normal View History

2023-02-08 06:07:19 +00:00
{ lib, fetchurl, buildDunePackage
2020-11-21 08:01:01 +00:00
, alcotest
, base64, cmdliner, rresult, xmlm, yojson
}:
2019-09-09 09:07:43 +00:00
buildDunePackage rec {
pname = "rpclib";
2023-02-08 06:07:19 +00:00
version = "9.0.0";
2019-09-09 09:07:43 +00:00
2023-02-08 06:07:19 +00:00
minimalOCamlVersion = "4.08";
duneVersion = "3";
2019-09-09 09:07:43 +00:00
2020-11-21 08:01:01 +00:00
src = fetchurl {
2023-02-08 06:07:19 +00:00
url = "https://github.com/mirage/ocaml-rpc/releases/download/${version}/rpclib-${version}.tbz";
hash = "sha256-ziPrdWwCjZN0vRmCMpa923wjfT8FVFLTDRz30VIW6WM=";
2019-09-09 09:07:43 +00:00
};
2020-11-21 08:01:01 +00:00
buildInputs = [ cmdliner yojson ];
propagatedBuildInputs = [ base64 rresult xmlm ];
checkInputs = [ alcotest ];
2019-09-09 09:07:43 +00:00
2023-02-08 06:07:19 +00:00
doCheck = true;
2019-09-09 09:07:43 +00:00
2019-12-05 07:45:40 +00:00
meta = with lib; {
2019-09-09 09:07:43 +00:00
homepage = "https://github.com/mirage/ocaml-rpc";
description = "Light library to deal with RPCs in OCaml";
license = licenses.isc;
maintainers = [ maintainers.vyorkin ];
};
}