Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
36 lines
793 B
Nix
36 lines
793 B
Nix
{
|
|
lib,
|
|
fetchurl,
|
|
buildDunePackage,
|
|
cppo,
|
|
ppx_deriving,
|
|
ppxlib,
|
|
dune-configurator,
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
pname = "ppx_deriving_protobuf";
|
|
version = "3.0.0";
|
|
|
|
duneVersion = "3";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/ocaml-ppx/ppx_deriving_protobuf/releases/download/v${version}/ppx_deriving_protobuf-v${version}.tbz";
|
|
sha256 = "1dc1vxnkd0cnrgac5v3zbaj2lq1d2w8118mp1cmsdxylp06yz1sj";
|
|
};
|
|
|
|
nativeBuildInputs = [ cppo ];
|
|
buildInputs = [
|
|
ppxlib
|
|
dune-configurator
|
|
];
|
|
propagatedBuildInputs = [ ppx_deriving ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/ocaml-ppx/ppx_deriving_protobuf";
|
|
description = "Protocol Buffers codec generator for OCaml";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.vyorkin ];
|
|
};
|
|
}
|