2021-04-05 14:00:16 +02:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "nats-top";
|
2022-10-05 19:32:13 +02:00
|
|
|
version = "0.5.3";
|
2021-04-05 14:00:16 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nats-io";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2022-10-05 19:32:13 +02:00
|
|
|
sha256 = "sha256-G2rUN+eFYWz78xDJcwYVtooTtNSNWR2nUTzar5ztWwE=";
|
2021-04-05 14:00:16 +02:00
|
|
|
};
|
|
|
|
|
2022-10-05 19:32:13 +02:00
|
|
|
vendorSha256 = "sha256-UOy3kyKtOXADdyoZ2rVgIQEOPs2oPBkMTYXxfQzVFmc=";
|
2021-04-05 14:00:16 +02:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "top-like tool for monitoring NATS servers";
|
|
|
|
homepage = "https://github.com/nats-io/nats-top";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|