Merge pull request #215261 from vbgl/ocaml-rpclib-9.0.0
ocamlPackages.rpclib: 8.1.0 → 9.0.0
This commit is contained in:
commit
02e522d301
@ -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 ];
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, topkg, result }:
|
||||
|
||||
lib.throwIfNot (lib.versionAtLeast ocaml.version "4.07")
|
||||
"rresult is not available for OCaml ${ocaml.version}"
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ocaml${ocaml.version}-rresult";
|
||||
version = "0.7.0";
|
||||
|
Loading…
Reference in New Issue
Block a user