2020-03-21 10:06:00 +00:00
|
|
|
{ buildGoModule, fetchFromGitHub, stdenv, Security }:
|
2019-07-12 02:44:54 +01:00
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "grpcui";
|
2019-09-16 21:57:29 +01:00
|
|
|
version = "0.2.1";
|
2019-07-12 02:44:54 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "fullstorydev";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-09-16 21:57:29 +01:00
|
|
|
sha256 = "0dcah6bamjqyp9354qrd1cykdr5k5l93hh7qcy5b4nkag9531gl0";
|
2019-07-12 02:44:54 +01:00
|
|
|
};
|
2019-09-16 21:57:29 +01:00
|
|
|
|
|
|
|
modSha256 = "1yq8484cjxad72nqsrim3zppr8hmn7dc6f8rgkw8fg952lqy5jjb";
|
2019-07-12 02:44:54 +01:00
|
|
|
|
2020-03-21 10:06:00 +00:00
|
|
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2019-07-12 02:44:54 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|