depot/third_party/nixpkgs/pkgs/tools/networking/grpcurl/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04: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 ];
};
}