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

28 lines
698 B
Nix
Raw Normal View History

2019-12-05 08:45:40 +01:00
{ lib, fetchFromGitHub, buildDunePackage, alcotest, cmdliner, rresult, result, xmlm, yojson }:
2019-09-09 11:07:43 +02:00
buildDunePackage rec {
pname = "rpclib";
2019-12-05 08:45:40 +01:00
version = "6.0.0";
2019-09-09 11:07:43 +02:00
minimumOCamlVersion = "4.04";
src = fetchFromGitHub {
owner = "mirage";
repo = "ocaml-rpc";
rev = "v${version}";
2019-12-05 08:45:40 +01:00
sha256 = "0bmr20sj7kybjjlwd42irj0f5zlnxcw7mxa1mdgxkki9bmhsqr51";
2019-09-09 11:07:43 +02:00
};
buildInputs = [ alcotest cmdliner yojson ];
propagatedBuildInputs = [ rresult result xmlm ];
doCheck = true;
2019-12-05 08:45:40 +01:00
meta = with lib; {
2019-09-09 11:07:43 +02:00
homepage = "https://github.com/mirage/ocaml-rpc";
description = "Light library to deal with RPCs in OCaml";
license = licenses.isc;
maintainers = [ maintainers.vyorkin ];
};
}