ocamlPackages.rpclib: 8.1.0 → 9.0.0
This commit is contained in:
parent
4c287d4196
commit
95d4472f5d
3 changed files with 12 additions and 9 deletions
|
@ -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 ];
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -9,7 +9,8 @@
|
|||
|
||||
buildDunePackage {
|
||||
pname = "rpclib-lwt";
|
||||
inherit (rpclib) version useDune2 src;
|
||||
inherit (rpclib) version src;
|
||||
duneVersion = "3";
|
||||
|
||||
propagatedBuildInputs = [ lwt rpclib ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue