nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 35 lines 791 B view raw
1{ 2 lib, 3 fetchurl, 4 buildDunePackage, 5 cppo, 6 ppx_deriving, 7 ppxlib, 8 dune-configurator, 9}: 10 11buildDunePackage rec { 12 pname = "ppx_deriving_protobuf"; 13 version = "3.0.0"; 14 15 duneVersion = "3"; 16 17 src = fetchurl { 18 url = "https://github.com/ocaml-ppx/ppx_deriving_protobuf/releases/download/v${version}/ppx_deriving_protobuf-v${version}.tbz"; 19 sha256 = "1dc1vxnkd0cnrgac5v3zbaj2lq1d2w8118mp1cmsdxylp06yz1sj"; 20 }; 21 22 nativeBuildInputs = [ cppo ]; 23 buildInputs = [ 24 ppxlib 25 dune-configurator 26 ]; 27 propagatedBuildInputs = [ ppx_deriving ]; 28 29 meta = { 30 homepage = "https://github.com/ocaml-ppx/ppx_deriving_protobuf"; 31 description = "Protocol Buffers codec generator for OCaml"; 32 license = lib.licenses.mit; 33 maintainers = [ lib.maintainers.vyorkin ]; 34 }; 35}