depot/third_party/nixpkgs/pkgs/development/tools/protoc-gen-connect-go/default.nix

25 lines
650 B
Nix
Raw Normal View History

{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "protoc-gen-connect-go";
version = "1.2.0";
src = fetchFromGitHub {
owner = "bufbuild";
repo = "connect-go";
rev = "v${version}";
sha256 = "sha256-h1zZ4xYGS/zemb/vPvDGHRiIm4bCLeghhqHft2ll+oY=";
};
vendorSha256 = "sha256-Bh2JCWTaML/QU/sLBsxLKMzzH++K22BTGusfcVW2GBw=";
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 ];
};
}