protoc-gen-connect-go: init at 0.1.1

This commit is contained in:
kilimnik 2022-07-07 18:55:17 +02:00
parent 98472c0467
commit a508339bc6
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,24 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "protoc-gen-connect-go";
version = "0.1.1";
src = fetchFromGitHub {
owner = "bufbuild";
repo = "connect-go";
rev = "v${version}";
sha256 = "sha256-sChXmz88AV2uw7QqIj2kwrUStcOU91Bm+QOj0GQ075Y=";
};
vendorSha256 = "sha256-qf9Ni2eL7gyE3/B6Lkrzsfu6ajjKUdDr7DzMJif3wbg=";
subPackages = [ "cmd/protoc-gen-connect-go" ];
meta = with lib; {
description = "Simple, reliable, interoperable. A better gRPC.";
homepage = "https://github.com/bufbuild/connect-go";
license = licenses.asl20;
maintainers = with maintainers; [ kilimnik ];
};
}

View File

@ -472,6 +472,10 @@ with pkgs;
protoc-gen-grpc-web = callPackage ../development/tools/protoc-gen-grpc-web { };
protoc-gen-connect-go = callPackage ../development/tools/protoc-gen-connect-go {
buildGoModule = buildGo118Module;
};
protoc-gen-twirp = callPackage ../development/tools/protoc-gen-twirp { };
protoc-gen-twirp_php = callPackage ../development/tools/protoc-gen-twirp_php { };