Merge pull request #180556 from kilimnik/master

This commit is contained in:
Sandro 2022-07-07 21:31:45 +02:00 committed by GitHub
commit 63ae1a277e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 0 deletions

View file

@ -6705,6 +6705,12 @@
githubId = 845652;
name = "Kier Davis";
};
kilimnik = {
email = "mail@kilimnik.de";
github = "killercup";
githubId = 5883283;
name = "Daniel Kilimnik";
};
killercup = {
email = "killercup@gmail.com";
github = "killercup";

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 { };