2021-04-05 11:56:04 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "natscli";
|
2022-11-05 09:01:59 +00:00
|
|
|
version = "0.0.35";
|
2021-04-05 11:56:04 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nats-io";
|
|
|
|
repo = pname;
|
2021-12-03 10:34:26 +00:00
|
|
|
rev = "v${version}";
|
2022-11-05 09:01:59 +00:00
|
|
|
sha256 = "sha256-Sro0EwHP1pszuOYP6abZO5XjJvbXrDDeSAbzPA2p00M=";
|
2021-04-05 11:56:04 +00:00
|
|
|
};
|
|
|
|
|
2022-11-05 09:01:59 +00:00
|
|
|
vendorSha256 = "sha256-HSKBUw9ZO150hLXyGX66U9XpLX2yowxYVdcdDVdqrAc=";
|
2021-04-05 11:56:04 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "NATS Command Line Interface";
|
|
|
|
homepage = "https://github.com/nats-io/natscli";
|
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2022-04-01 19:34:55 +00:00
|
|
|
mainProgram = "nats";
|
2021-04-05 11:56:04 +00:00
|
|
|
};
|
|
|
|
}
|