depot/third_party/nixpkgs/pkgs/development/tools/protoc-gen-connect-go/default.nix
Default email 2c76a4cb41 Project import generated by Copybara.
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
2023-11-16 04:20:00 +00:00

35 lines
820 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "protoc-gen-connect-go";
version = "1.12.0";
src = fetchFromGitHub {
owner = "connectrpc";
repo = "connect-go";
rev = "refs/tags/v${version}";
hash = "sha256-SBPYRmnrwtE9zyPdHWVGgalrRn5TOeewo6fdAwsNQSk=";
};
vendorHash = "sha256-3opkr4kUD3NQNbNYOdSWIDqKbArv9OQUkBMzae1ccVY=";
subPackages = [
"cmd/protoc-gen-connect-go"
];
preCheck = ''
# test all paths
unset subPackages
'';
meta = with lib; {
description = "Simple, reliable, interoperable, better gRPC";
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 ];
};
}