ocamlPackages.rpclib: 8.1.0 → 9.0.0
This commit is contained in:
parent
4c287d4196
commit
95d4472f5d
|
@ -3,9 +3,10 @@
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "ppx_deriving_rpc";
|
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 ];
|
propagatedBuildInputs = [ ppxlib rpclib ppx_deriving ];
|
||||||
|
|
||||||
|
|
|
@ -1,24 +1,25 @@
|
||||||
{ lib, fetchurl, buildDunePackage, ocaml
|
{ lib, fetchurl, buildDunePackage
|
||||||
, alcotest
|
, alcotest
|
||||||
, base64, cmdliner, rresult, xmlm, yojson
|
, base64, cmdliner, rresult, xmlm, yojson
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "rpclib";
|
pname = "rpclib";
|
||||||
version = "8.1.0";
|
version = "9.0.0";
|
||||||
|
|
||||||
useDune2 = true;
|
minimalOCamlVersion = "4.08";
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/mirage/ocaml-rpc/releases/download/v${version}/rpclib-v${version}.tbz";
|
url = "https://github.com/mirage/ocaml-rpc/releases/download/${version}/rpclib-${version}.tbz";
|
||||||
sha256 = "0fbajg8wq8hjhkvvfnq68br0m0pa8zf2qzadhfgi2nnr9713rada";
|
hash = "sha256-ziPrdWwCjZN0vRmCMpa923wjfT8FVFLTDRz30VIW6WM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cmdliner yojson ];
|
buildInputs = [ cmdliner yojson ];
|
||||||
propagatedBuildInputs = [ base64 rresult xmlm ];
|
propagatedBuildInputs = [ base64 rresult xmlm ];
|
||||||
checkInputs = [ alcotest ];
|
checkInputs = [ alcotest ];
|
||||||
|
|
||||||
doCheck = lib.versionAtLeast ocaml.version "4.08";
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://github.com/mirage/ocaml-rpc";
|
homepage = "https://github.com/mirage/ocaml-rpc";
|
||||||
|
|
|
@ -9,7 +9,8 @@
|
||||||
|
|
||||||
buildDunePackage {
|
buildDunePackage {
|
||||||
pname = "rpclib-lwt";
|
pname = "rpclib-lwt";
|
||||||
inherit (rpclib) version useDune2 src;
|
inherit (rpclib) version src;
|
||||||
|
duneVersion = "3";
|
||||||
|
|
||||||
propagatedBuildInputs = [ lwt rpclib ];
|
propagatedBuildInputs = [ lwt rpclib ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue