2020-04-24 23:36:52 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "grpcui";
|
2020-10-19 00:13:06 +00:00
|
|
|
version = "1.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fullstorydev";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-10-19 00:13:06 +00:00
|
|
|
sha256 = "1l8ldx7nx2pa2ac5znss0j0dhapn3syj02xqys4jz22hr5gvfj6m";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-10-19 00:13:06 +00:00
|
|
|
vendorSha256 = "15qgpbsl41swifw8w1lx0pbniwv3rf35127ald7h1r157vfa0r8b";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
2020-08-20 17:08:02 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
subPackages = [ "cmd/grpcui" ];
|
|
|
|
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "An interactive web UI for gRPC, along the lines of postman";
|
|
|
|
homepage = "https://github.com/fullstorydev/grpcui";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ pradyuman ];
|
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
|
|
|
};
|
2020-07-18 16:06:22 +00:00
|
|
|
}
|