about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/networking/grpcurl/default.nix
blob: 6a72be9a1e451f1f69f440d67dce88339d200807 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# 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 ];
  };
}