a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
30 lines
758 B
Nix
30 lines
758 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "protoc-gen-connect-go";
|
|
version = "1.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bufbuild";
|
|
repo = "connect-go";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-lk7PcSsqm2oLYerhXGxcyqkw5VJ46JIASU87ppybd78=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|