1{ 2 buildGoModule, 3 fetchFromGitHub, 4 lib, 5}: 6 7buildGoModule rec { 8 pname = "grpcui"; 9 version = "1.5.1"; 10 11 src = fetchFromGitHub { 12 owner = "fullstorydev"; 13 repo = "grpcui"; 14 rev = "v${version}"; 15 sha256 = "sha256-mZeNK/NwN887TN4fnvGzrqwJCBYnYcuW/K+O0LgX0uo="; 16 }; 17 18 vendorHash = "sha256-y4OK610q+8m48M/HX3bXNV7YguoOaZKnCw+JnEvqbEI="; 19 20 doCheck = false; 21 22 subPackages = [ "cmd/grpcui" ]; 23 24 ldflags = [ 25 "-s" 26 "-w" 27 "-X main.version=${version}" 28 ]; 29 30 meta = with lib; { 31 description = "Interactive web UI for gRPC, along the lines of postman"; 32 homepage = "https://github.com/fullstorydev/grpcui"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ pradyuman ]; 35 platforms = platforms.linux ++ platforms.darwin; 36 mainProgram = "grpcui"; 37 }; 38}