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 {
|
2019-08-15 13:41:18 +01:00
|
|
|
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;
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ knl ];
|
|
|
|
};
|
|
|
|
}
|