nixpkgs-suyu/pkgs/tools/networking/grpcurl/default.nix
2020-04-10 17:54:53 +01:00

27 lines
813 B
Nix

# 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";
version = "1.4.0";
rev = "v${version}";
goPackagePath = "github.com/fullstorydev/grpcurl";
src = fetchFromGitHub {
owner = "fullstorydev";
repo = "grpcurl";
rev = "ccc9007156e7177388c8dd45ec694aebeb2da996";
sha256 = "1zgiqg9c6vk45x16n04bpfvj9z838nck7ihdcsbfz89xgq7f1c0b";
};
goDeps = ./deps.nix;
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 ];
};
}