2020-11-21 08:01:01 +00:00
|
|
|
{ lib, buildDunePackage, rpclib, alcotest, ppxlib, ppx_deriving, yojson }:
|
2019-09-18 07:42:41 +01:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "ppx_deriving_rpc";
|
|
|
|
|
2020-11-21 08:01:01 +00:00
|
|
|
inherit (rpclib) version useDune2 src;
|
2019-09-18 07:42:41 +01:00
|
|
|
|
2020-11-21 08:01:01 +00:00
|
|
|
minimumOCamlVersion = "4.08";
|
2019-09-18 07:42:41 +01:00
|
|
|
|
2020-11-21 08:01:01 +00:00
|
|
|
propagatedBuildInputs = [ ppxlib rpclib ppx_deriving ];
|
|
|
|
|
|
|
|
checkInputs = [ alcotest yojson ];
|
|
|
|
doCheck = true;
|
2019-09-18 07:42:41 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/mirage/ocaml-rpc";
|
|
|
|
description = "Ppx deriver for ocaml-rpc";
|
|
|
|
license = licenses.isc;
|
|
|
|
maintainers = [ maintainers.vyorkin ];
|
|
|
|
};
|
|
|
|
}
|