Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
795 B
Nix
45 lines
795 B
Nix
{
|
|
lib,
|
|
fetchurl,
|
|
buildDunePackage,
|
|
alcotest,
|
|
base64,
|
|
cmdliner,
|
|
rresult,
|
|
xmlm,
|
|
yojson,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "rpclib";
|
|
version = "9.0.0";
|
|
|
|
minimalOCamlVersion = "4.08";
|
|
duneVersion = "3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/mirage/ocaml-rpc/releases/download/${version}/rpclib-${version}.tbz";
|
|
hash = "sha256-ziPrdWwCjZN0vRmCMpa923wjfT8FVFLTDRz30VIW6WM=";
|
|
};
|
|
|
|
buildInputs = [
|
|
cmdliner
|
|
yojson
|
|
];
|
|
propagatedBuildInputs = [
|
|
base64
|
|
rresult
|
|
xmlm
|
|
];
|
|
checkInputs = [ alcotest ];
|
|
|
|
doCheck = true;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/mirage/ocaml-rpc";
|
|
description = "Light library to deal with RPCs in OCaml";
|
|
license = licenses.isc;
|
|
maintainers = [ maintainers.vyorkin ];
|
|
};
|
|
}
|