ocamlPackages.ppx_deriving_protobuf: init at 2.7

This commit is contained in:
Vasiliy Yorkin
2019-09-13 15:45:47 +03:00
committed by Vincent Laporte
parent e64239dca3
commit 2b921136f0
2 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
{ stdenv, fetchFromGitHub, buildDunePackage, cppo, ppx_tools, ppx_deriving
, ppxfind }:
buildDunePackage rec {
pname = "ppx_deriving_protobuf";
version = "2.7";
src = fetchFromGitHub {
owner = "ocaml-ppx";
repo = pname;
rev = "v${version}";
sha256 = "0aq4f3gbkhhai0c8i5mcw2kpqy8l610f4dknwkrxh0nsizwbwryn";
};
buildInputs = [ cppo ppx_tools ppxfind ppx_deriving ];
meta = with stdenv.lib; {
homepage = "https://github.com/ocaml-ppx/ppx_deriving_protobuf";
description = "A Protocol Buffers codec generator for OCaml";
license = licenses.mit;
maintainers = [ maintainers.vyorkin ];
};
}