Merge pull request #118592 from fabaff/nats-tools
This commit is contained in:
commit
50e29f1f75
25
pkgs/tools/system/nats-top/default.nix
Normal file
25
pkgs/tools/system/nats-top/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "nats-top";
|
||||
version = "0.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nats-io";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0b1hpnq8m1xfrn58ammmnx6lmhk319m8z4xjxgckz7wvy2fbzw0n";
|
||||
};
|
||||
|
||||
vendorSha256 = "1a48p9gx5zdc340ma6cqakhi6f3lw9b0kz2597j1jcsk2qb7s581";
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
25
pkgs/tools/system/natscli/default.nix
Normal file
25
pkgs/tools/system/natscli/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "natscli";
|
||||
version = "0.0.22";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nats-io";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1qc6lpgl878kc316z10x59px6jyfzdwsj7fdr8k4ayln0lplvbq3";
|
||||
};
|
||||
|
||||
vendorSha256 = "1a9d7hqj43qdh0h7pc5wckqshi8lacf6m2107wymzzz62j1msy26";
|
||||
|
||||
meta = with lib; {
|
||||
description = "NATS Command Line Interface";
|
||||
homepage = "https://github.com/nats-io/natscli";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
25
pkgs/tools/system/nkeys/default.nix
Normal file
25
pkgs/tools/system/nkeys/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "nkeys";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nats-io";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "06wbmb3cxjrcfvgfbn6rdfzb4pfaaw11bnvl1r4kig4ag22qcz7b";
|
||||
};
|
||||
|
||||
vendorSha256 = "0kiqlw2411x5c1pamq3mn5wcm8mdn91avwg8xh2a7sy3kqw5d26d";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Public-key signature system for NATS";
|
||||
homepage = "https://github.com/nats-io/nkeys";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -6049,6 +6049,10 @@ in
|
|||
pythonPackages = python3Packages;
|
||||
};
|
||||
|
||||
nats-top = callPackage ../tools/system/nats-top { };
|
||||
|
||||
natscli = callPackage ../tools/system/natscli { };
|
||||
|
||||
nbench = callPackage ../tools/misc/nbench { };
|
||||
|
||||
ncrack = callPackage ../tools/security/ncrack { };
|
||||
|
@ -6066,6 +6070,8 @@ in
|
|||
|
||||
netsniff-ng = callPackage ../tools/networking/netsniff-ng { };
|
||||
|
||||
nkeys = callPackage ../tools/system/nkeys { };
|
||||
|
||||
nyxt = callPackage ../applications/networking/browsers/nyxt { };
|
||||
|
||||
nfpm = callPackage ../tools/package-management/nfpm { };
|
||||
|
|
Loading…
Reference in a new issue