ocamlPackages.rpclib: init at 5.9.0

This commit is contained in:
Vasiliy Yorkin 2019-09-09 12:07:43 +03:00 committed by Vincent Laporte
parent 8752ff2254
commit 300464ec67
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub, buildDunePackage, alcotest, cmdliner, rresult, result, xmlm, yojson }:
buildDunePackage rec {
pname = "rpclib";
version = "5.9.0";
minimumOCamlVersion = "4.04";
src = fetchFromGitHub {
owner = "mirage";
repo = "ocaml-rpc";
rev = "v${version}";
sha256 = "1swnnmmnkn53mxqpckdnd1j8bz0wksqznjbv0zamspxyqybmancq";
};
buildInputs = [ alcotest cmdliner yojson ];
propagatedBuildInputs = [ rresult result xmlm ];
doCheck = true;
meta = with stdenv.lib; {
homepage = "https://github.com/mirage/ocaml-rpc";
description = "Light library to deal with RPCs in OCaml";
license = licenses.isc;
maintainers = [ maintainers.vyorkin ];
};
}

View file

@ -731,6 +731,8 @@ let
rope = callPackage ../development/ocaml-modules/rope { };
rpclib = callPackage ../development/ocaml-modules/rpclib { };
rresult = callPackage ../development/ocaml-modules/rresult { };
safepass = callPackage ../development/ocaml-modules/safepass { };