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
760 B
Nix
36 lines
760 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "protoc-gen-entgrpc";
|
|
version = "0.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ent";
|
|
repo = "contrib";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-kI+/qbWvOxcHKee7jEFBs5Bb+5MPGunAsB6d1j9fhp8=";
|
|
};
|
|
|
|
vendorHash = "sha256-tOt6Uxo4Z2zJrTjyTPoqHGfUgxFmtB+xP+kB+S6ez84=";
|
|
|
|
subPackages = [ "entproto/cmd/protoc-gen-entgrpc" ];
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Generator of an implementation of the service interface for ent protobuff";
|
|
mainProgram = "protoc-gen-entgrpc";
|
|
downloadPage = "https://github.com/ent/contrib/";
|
|
license = licenses.asl20;
|
|
homepage = "https://entgo.io/";
|
|
maintainers = [ ];
|
|
};
|
|
}
|