depot/third_party/nixpkgs/pkgs/by-name/gr/grpc-client-cli/package.nix

27 lines
627 B
Nix

{
lib,
buildGoModule,
fetchFromGitHub,
}:
buildGoModule rec {
pname = "grpc-client-cli";
version = "1.21.1";
src = fetchFromGitHub {
owner = "vadimi";
repo = "grpc-client-cli";
rev = "v${version}";
sha256 = "sha256-fz0O/tBWTxtVbjSND0b2O+xic27zXMNhIkyF3G+Jra4=";
};
vendorHash = "sha256-M/x6Dinnja43ggcx8LD/gdIZnbdo5wJqxub2JnudSqs=";
meta = with lib; {
description = "generic gRPC command line client";
mainProgram = "grpc-client-cli";
maintainers = with maintainers; [ Philipp-M ];
homepage = "https://github.com/vadimi/grpc-client-cli";
license = licenses.mit;
};
}