Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at netboot-syslinux-multiplatform 30 lines 754 B view raw
1{ lib, fetchurl, buildDunePackage 2, alcotest 3, base64, cmdliner, rresult, xmlm, yojson 4}: 5 6buildDunePackage rec { 7 pname = "rpclib"; 8 version = "9.0.0"; 9 10 minimalOCamlVersion = "4.08"; 11 duneVersion = "3"; 12 13 src = fetchurl { 14 url = "https://github.com/mirage/ocaml-rpc/releases/download/${version}/rpclib-${version}.tbz"; 15 hash = "sha256-ziPrdWwCjZN0vRmCMpa923wjfT8FVFLTDRz30VIW6WM="; 16 }; 17 18 buildInputs = [ cmdliner yojson ]; 19 propagatedBuildInputs = [ base64 rresult xmlm ]; 20 checkInputs = [ alcotest ]; 21 22 doCheck = true; 23 24 meta = with lib; { 25 homepage = "https://github.com/mirage/ocaml-rpc"; 26 description = "Light library to deal with RPCs in OCaml"; 27 license = licenses.isc; 28 maintainers = [ maintainers.vyorkin ]; 29 }; 30}