mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
grpcui: add ldflags
This commit is contained in:
parent
3dec516b7d
commit
d263c774e9
@ -13,6 +13,10 @@ buildGoModule rec {
|
||||
|
||||
vendorSha256 = "0wih9xvpgqqd82v1pxy5rslrsd6wsl0ys1bi1mf373dnfq5vh5a9";
|
||||
|
||||
subPackages = [ "cmd/grpcui" ];
|
||||
|
||||
buildFlagsArray = [ "-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";
|
||||
@ -20,4 +24,4 @@ buildGoModule rec {
|
||||
maintainers = with maintainers; [ pradyuman ];
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user