2c76a4cb41
GitOrigin-RevId: c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad
29 lines
755 B
Nix
29 lines
755 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "grpcui";
|
|
version = "1.3.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fullstorydev";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-G4lVYwx8fYxuyHI2CzAfBQHQV/G4lf7zBwL8JTpnscA=";
|
|
};
|
|
|
|
vendorHash = "sha256-lw8HildV1RFTGLOf6FaitbXPxr4FtVGg7GxdzBVFiTM=";
|
|
|
|
doCheck = false;
|
|
|
|
subPackages = [ "cmd/grpcui" ];
|
|
|
|
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
|
|
|
|
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;
|
|
};
|
|
}
|