mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 12:44:44 +00:00
44 lines
805 B
Nix
44 lines
805 B
Nix
{
|
|
lib,
|
|
fetchurl,
|
|
buildDunePackage,
|
|
alcotest,
|
|
base64,
|
|
cmdliner,
|
|
rresult,
|
|
xmlm,
|
|
yojson,
|
|
}:
|
|
|
|
buildDunePackage (finalAttrs: {
|
|
pname = "rpclib";
|
|
version = "10.2.0";
|
|
|
|
minimalOCamlVersion = "4.14";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ocaml-rpc/releases/download/${finalAttrs.version}/rpclib-${finalAttrs.version}.tbz";
|
|
hash = "sha256-N+xKTdU/yy042EZBXTpFl21aeMFTHm2HbbJDbpRxcvM=";
|
|
};
|
|
|
|
buildInputs = [
|
|
cmdliner
|
|
yojson
|
|
];
|
|
propagatedBuildInputs = [
|
|
base64
|
|
rresult
|
|
xmlm
|
|
];
|
|
checkInputs = [ alcotest ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = {
|
|
homepage = "https://github.com/mirage/ocaml-rpc";
|
|
description = "Light library to deal with RPCs in OCaml";
|
|
license = lib.licenses.isc;
|
|
maintainers = [ lib.maintainers.vyorkin ];
|
|
};
|
|
})
|