nixpkgs/pkgs/tools/networking/grpcurl/default.nix

28 lines
813 B
Nix
Raw Normal View History

2018-11-06 17:22:07 +00:00
# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
# and modified to add meta and switch to fetchFromGitHub
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "grpcurl";
2020-02-06 16:07:00 +00:00
version = "1.4.0";
2018-11-06 17:22:07 +00:00
rev = "v${version}";
goPackagePath = "github.com/fullstorydev/grpcurl";
src = fetchFromGitHub {
owner = "fullstorydev";
repo = "grpcurl";
2020-02-06 16:07:00 +00:00
rev = "ccc9007156e7177388c8dd45ec694aebeb2da996";
sha256 = "1zgiqg9c6vk45x16n04bpfvj9z838nck7ihdcsbfz89xgq7f1c0b";
2018-11-06 17:22:07 +00:00
};
2020-02-06 16:07:00 +00:00
goDeps = ./deps.nix;
2018-11-06 17:22:07 +00:00
meta = {
description = "Like cURL, but for gRPC: Command-line tool for interacting with gRPC servers";
homepage = "https://github.com/fullstorydev/grpcurl";
2018-11-06 17:22:07 +00:00
license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ knl ];
};
}