depot/third_party/nixpkgs/pkgs/development/tools/protoc-gen-connect-go/default.nix
Default email a3d4720129 Project import generated by Copybara.
GitOrigin-RevId: e182da8622a354d44c39b3d7a542dc12cd7baa5f
2022-12-28 22:21:41 +01:00

30 lines
758 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "protoc-gen-connect-go";
version = "1.4.1";
src = fetchFromGitHub {
owner = "bufbuild";
repo = "connect-go";
rev = "refs/tags/v${version}";
hash = "sha256-9dLILgDolHgQx33dAtYT3RJ0scWUVh52z+2Fh6FS+K4=";
};
vendorHash = "sha256-Bh2JCWTaML/QU/sLBsxLKMzzH++K22BTGusfcVW2GBw=";
subPackages = [
"cmd/protoc-gen-connect-go"
];
meta = with lib; {
description = "library for building browser and gRPC-compatible HTTP APIs";
homepage = "https://github.com/bufbuild/connect-go";
changelog = "https://github.com/bufbuild/connect-go/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ kilimnik ];
};
}