c7e6337bd0
GitOrigin-RevId: 08e4dc3a907a6dfec8bb3bbf1540d8abbffea22b
30 lines
758 B
Nix
30 lines
758 B
Nix
{ lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "protoc-gen-connect-go";
|
|
version = "1.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "bufbuild";
|
|
repo = "connect-go";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-KtyDnBDG67H4r/3s1ehbJhrzeG1LoU2BatWWgfTkAAs=";
|
|
};
|
|
|
|
vendorHash = "sha256-yCZ16rmqi8DAwIVuEgCw373bQX+cLhSNbpKutF5L2bc=";
|
|
|
|
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 ];
|
|
};
|
|
}
|