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