mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
30 lines
886 B
Nix
30 lines
886 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.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 ];
|
|
};
|
|
}
|