Files
nixpkgs/pkgs/development/ocaml-modules/rpclib/default.nix
2026-05-28 06:39:57 +02:00

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 ];
};
})