nixpkgs/pkgs/tools/networking/grpcui/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
780 B
Nix
Raw Normal View History

{ buildGoModule, fetchFromGitHub, lib }:
2019-07-12 01:44:54 +00:00
buildGoModule rec {
pname = "grpcui";
2024-04-11 00:58:28 +00:00
version = "1.4.1";
2019-07-12 01:44:54 +00:00
src = fetchFromGitHub {
owner = "fullstorydev";
repo = pname;
rev = "v${version}";
2024-04-11 00:58:28 +00:00
sha256 = "sha256-OIwfLuWY7Y0t85v+P/0F55vEe0hNohlqMl16Omr8AF0=";
2019-07-12 01:44:54 +00:00
};
2019-09-16 20:57:29 +00:00
2024-04-11 00:58:28 +00:00
vendorHash = "sha256-dEek7q8OjFgCn+f/qyiQL/5qu8RJp38vZk3OrBREHx4=";
2019-07-12 01:44:54 +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
meta = with lib; {
2019-07-12 01:44:54 +00:00
description = "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;
2024-02-11 02:19:15 +00:00
mainProgram = "grpcui";
2019-07-12 01:44:54 +00:00
};
2020-06-27 09:20:00 +00:00
}