Files
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

40 lines
903 B
Nix

{
beamPackages,
fetchFromGitHub,
lib,
nix-update-script,
}:
let
inherit (beamPackages) mixRelease fetchMixDeps erlang;
in
mixRelease rec {
pname = "protoc-gen-elixir";
version = "0.15.0";
src = fetchFromGitHub {
owner = "elixir-protobuf";
repo = "protobuf";
tag = "v${version}";
hash = "sha256-khgK+hSNyQbM4JB8VuCpbLS0z4NlweORW9z2PdhZ/+Y=";
};
mixFodDeps = fetchMixDeps {
inherit version src;
pname = "protoc-gen-elixir-deps";
hash = "sha256-T1uL3xXXmCkobJJhS3p6xMrJUyiim3AMwaG87/Ix7A8=";
};
escriptBinName = "protoc-gen-elixir";
passthru.updateScript = nix-update-script { };
meta = {
description = "Protoc plugin to generate Elixir code";
mainProgram = "protoc-gen-elixir";
homepage = "https://github.com/elixir-protobuf/protobuf";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ mattpolzin ];
};
}