nixpkgs/pkgs/development/ocaml-modules/ppx_deriving_rpc/default.nix

22 lines
520 B
Nix
Raw Normal View History

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