2020-03-27 07:33:21 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2019-07-12 01:44:54 +00:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "grpcui";
|
2022-02-16 09:50:51 +00:00
|
|
|
version = "1.3.0";
|
2019-07-12 01:44:54 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fullstorydev";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-02-16 09:50:51 +00:00
|
|
|
sha256 = "sha256-XDVt5fml2zYXOcZYXnxxGu4uaUA75DnRlFkbcc6tDag=";
|
2019-07-12 01:44:54 +00:00
|
|
|
};
|
2019-09-16 20:57:29 +00:00
|
|
|
|
2022-02-16 09:50:51 +00:00
|
|
|
vendorSha256 = "sha256-jHNjvh4rpZdQ/RC9gN3KXnuOLkJX8Ow5GV+Qwfyvx1o=";
|
2019-07-12 01:44:54 +00:00
|
|
|
|
2020-08-04 00:26:27 +00:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-06-27 09:20:00 +00:00
|
|
|
subPackages = [ "cmd/grpcui" ];
|
|
|
|
|
2021-08-26 06:45:51 +00:00
|
|
|
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
|
2020-06-27 09:20:00 +00:00
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-07-12 01:44:54 +00:00
|
|
|
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-06-27 09:20:00 +00:00
|
|
|
}
|