587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
30 lines
783 B
Nix
30 lines
783 B
Nix
{ buildGoModule, fetchFromGitHub, lib }:
|
|
|
|
buildGoModule rec {
|
|
pname = "grpcui";
|
|
version = "1.4.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fullstorydev";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-OIwfLuWY7Y0t85v+P/0F55vEe0hNohlqMl16Omr8AF0=";
|
|
};
|
|
|
|
vendorHash = "sha256-dEek7q8OjFgCn+f/qyiQL/5qu8RJp38vZk3OrBREHx4=";
|
|
|
|
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;
|
|
mainProgram = "grpcui";
|
|
};
|
|
}
|