mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
30 lines
896 B
Nix
30 lines
896 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 {
|
|
name = "grpcurl-${version}";
|
|
version = "1.0.0";
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/fullstorydev/grpcurl";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fullstorydev";
|
|
repo = "grpcurl";
|
|
rev = "d4d048fade4abcc2f0c3fb6f3e207289401d0a10";
|
|
sha256 = "0v45lwjw2phavhi6m4ql49ri1423m249a6xcf00v9hi2x1y9dh6q";
|
|
};
|
|
|
|
goDeps = if stdenv.isDarwin
|
|
then ./deps-darwin.nix
|
|
else ./deps-linux.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 ];
|
|
};
|
|
}
|