depot/third_party/nixpkgs/pkgs/tools/system/nats-top/default.nix
Default email d2947cfef0 Project import generated by Copybara.
GitOrigin-RevId: 598f83ebeb2235435189cf84d844b8b73e858e0f
2022-10-06 20:32:54 +02:00

25 lines
575 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "nats-top";
version = "0.5.3";
src = fetchFromGitHub {
owner = "nats-io";
repo = pname;
rev = "v${version}";
sha256 = "sha256-G2rUN+eFYWz78xDJcwYVtooTtNSNWR2nUTzar5ztWwE=";
};
vendorSha256 = "sha256-UOy3kyKtOXADdyoZ2rVgIQEOPs2oPBkMTYXxfQzVFmc=";
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 ];
};
}