2
0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-01 02:23:54 +00:00
nixpkgs/pkgs/development/tools/protoc-gen-connect-go/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
820 B
Nix
Raw Normal View History

{ lib
, buildGoModule
, fetchFromGitHub
}:
2022-07-07 16:55:17 +00:00
buildGoModule rec {
pname = "protoc-gen-connect-go";
version = "1.12.0";
2022-07-07 16:55:17 +00:00
src = fetchFromGitHub {
owner = "connectrpc";
2022-07-07 16:55:17 +00:00
repo = "connect-go";
rev = "refs/tags/v${version}";
hash = "sha256-SBPYRmnrwtE9zyPdHWVGgalrRn5TOeewo6fdAwsNQSk=";
2022-07-07 16:55:17 +00:00
};
2023-07-05 10:46:38 +00:00
vendorHash = "sha256-3opkr4kUD3NQNbNYOdSWIDqKbArv9OQUkBMzae1ccVY=";
2022-07-07 16:55:17 +00:00
subPackages = [
"cmd/protoc-gen-connect-go"
];
2022-07-07 16:55:17 +00:00
preCheck = ''
# test all paths
unset subPackages
'';
2022-07-07 16:55:17 +00:00
meta = with lib; {
description = "Simple, reliable, interoperable, better gRPC";
homepage = "https://github.com/connectrpc/connect-go";
changelog = "https://github.com/connectrpc/connect-go/releases/tag/v${version}";
2022-07-07 16:55:17 +00:00
license = licenses.asl20;
maintainers = with maintainers; [ kilimnik jk ];
2022-07-07 16:55:17 +00:00
};
}