2020-03-27 07:33:21 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, lib }:
|
2019-07-12 02:44:54 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "grpcui";
|
2020-06-26 11:20:47 +01:00
|
|
|
version = "1.0.0";
|
2019-07-12 02:44:54 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fullstorydev";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-06-26 11:20:47 +01:00
|
|
|
sha256 = "0b6rc294v8jagk79hcjbaldfi7y7idx8bknsbdi3djym5rspdg6s";
|
2019-07-12 02:44:54 +01:00
|
|
|
};
|
2019-09-16 21:57:29 +01:00
|
|
|
|
2020-06-26 11:20:47 +01:00
|
|
|
vendorSha256 = "0wih9xvpgqqd82v1pxy5rslrsd6wsl0ys1bi1mf373dnfq5vh5a9";
|
2019-07-12 02:44:54 +01:00
|
|
|
|
2020-08-04 01:26:27 +01:00
|
|
|
doCheck = false;
|
|
|
|
|
2020-06-27 10:20:00 +01:00
|
|
|
subPackages = [ "cmd/grpcui" ];
|
|
|
|
|
|
|
|
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
|
|
|
|
2020-03-27 07:33:21 +00:00
|
|
|
meta = with lib; {
|
2019-07-12 02:44:54 +01: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 10:20:00 +01:00
|
|
|
}
|