Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
903 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
}