ocamlPackages.rpclib: 8.1.0 → 9.0.0

This commit is contained in:
Vincent Laporte 2023-02-08 07:07:19 +01:00
parent 4c287d4196
commit 95d4472f5d
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
3 changed files with 12 additions and 9 deletions

View file

@ -3,9 +3,10 @@
buildDunePackage rec {
pname = "ppx_deriving_rpc";
inherit (rpclib) version useDune2 src;
inherit (rpclib) version src;
minimumOCamlVersion = "4.08";
minimalOCamlVersion = "4.08";
duneVersion = "3";
propagatedBuildInputs = [ ppxlib rpclib ppx_deriving ];

View file

@ -1,24 +1,25 @@
{ lib, fetchurl, buildDunePackage, ocaml
{ lib, fetchurl, buildDunePackage
, alcotest
, base64, cmdliner, rresult, xmlm, yojson
}:
buildDunePackage rec {
pname = "rpclib";
version = "8.1.0";
version = "9.0.0";
useDune2 = true;
minimalOCamlVersion = "4.08";
duneVersion = "3";
src = fetchurl {
url = "https://github.com/mirage/ocaml-rpc/releases/download/v${version}/rpclib-v${version}.tbz";
sha256 = "0fbajg8wq8hjhkvvfnq68br0m0pa8zf2qzadhfgi2nnr9713rada";
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 = lib.versionAtLeast ocaml.version "4.08";
doCheck = true;
meta = with lib; {
homepage = "https://github.com/mirage/ocaml-rpc";

View file

@ -9,7 +9,8 @@
buildDunePackage {
pname = "rpclib-lwt";
inherit (rpclib) version useDune2 src;
inherit (rpclib) version src;
duneVersion = "3";
propagatedBuildInputs = [ lwt rpclib ];