2022-12-17 10:02:37 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "protoc-gen-connect-go";
|
2023-04-29 16:46:19 +00:00
|
|
|
version = "1.7.0";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bufbuild";
|
|
|
|
repo = "connect-go";
|
2022-12-17 10:02:37 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-04-29 16:46:19 +00:00
|
|
|
hash = "sha256-KtyDnBDG67H4r/3s1ehbJhrzeG1LoU2BatWWgfTkAAs=";
|
2022-07-14 12:49:19 +00:00
|
|
|
};
|
|
|
|
|
2023-04-29 16:46:19 +00:00
|
|
|
vendorHash = "sha256-yCZ16rmqi8DAwIVuEgCw373bQX+cLhSNbpKutF5L2bc=";
|
2022-07-14 12:49:19 +00:00
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
subPackages = [
|
|
|
|
"cmd/protoc-gen-connect-go"
|
|
|
|
];
|
2022-07-14 12:49:19 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2022-12-17 10:02:37 +00:00
|
|
|
description = "library for building browser and gRPC-compatible HTTP APIs";
|
2022-07-14 12:49:19 +00:00
|
|
|
homepage = "https://github.com/bufbuild/connect-go";
|
2022-12-17 10:02:37 +00:00
|
|
|
changelog = "https://github.com/bufbuild/connect-go/releases/tag/v${version}";
|
2022-07-14 12:49:19 +00:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ kilimnik ];
|
|
|
|
};
|
|
|
|
}
|