nixpkgs/pkgs/tools/system/nats-top/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
575 B
Nix
Raw Normal View History

2021-04-05 14:00:16 +02:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "nats-top";
2022-05-14 13:59:47 +02:00
version = "0.5.2";
2021-04-05 14:00:16 +02:00
src = fetchFromGitHub {
owner = "nats-io";
repo = pname;
rev = "v${version}";
2022-05-14 13:59:47 +02:00
sha256 = "sha256-yPaaHSCLocgX0KQtHSBAi9GQqPlggdLAADr9ow7WlnU=";
2021-04-05 14:00:16 +02:00
};
2022-03-23 23:57:25 +01:00
vendorSha256 = "sha256-cBCR/OXUOa+Lh8UvL/VraDAW0hGGwV7teyvdswZQ5Lo=";
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 ];
};
}