7e47f3658e
GitOrigin-RevId: 1925c603f17fc89f4c8f6bf6f631a802ad85d784
36 lines
863 B
Nix
36 lines
863 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "protoc-gen-connect-go";
|
|
version = "1.17.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "connectrpc";
|
|
repo = "connect-go";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-GF7J21Y27LmKuDjuk2omQo2xV5pDo2GQXyu9SLwG0fs=";
|
|
};
|
|
|
|
vendorHash = "sha256-j5T1Ho3K0kPZOo5LA6Md06W/gF6DmEElGt9BvceBtTo=";
|
|
|
|
subPackages = [
|
|
"cmd/protoc-gen-connect-go"
|
|
];
|
|
|
|
preCheck = ''
|
|
# test all paths
|
|
unset subPackages
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Simple, reliable, interoperable, better gRPC";
|
|
mainProgram = "protoc-gen-connect-go";
|
|
homepage = "https://github.com/connectrpc/connect-go";
|
|
changelog = "https://github.com/connectrpc/connect-go/releases/tag/v${version}";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ kilimnik jk ];
|
|
};
|
|
}
|