2021-04-05 13:56:04 +02:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "natscli";
|
2022-05-30 08:59:02 +02:00
|
|
|
version = "0.0.33";
|
2021-04-05 13:56:04 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nats-io";
|
|
|
|
repo = pname;
|
2021-12-03 11:34:26 +01:00
|
|
|
rev = "v${version}";
|
2022-05-30 08:59:02 +02:00
|
|
|
sha256 = "sha256-x1alZ+184dXXL2GeDSnvRjTW5P6GlJCrWL50663/pDo=";
|
2021-04-05 13:56:04 +02:00
|
|
|
};
|
|
|
|
|
2022-05-30 08:59:02 +02:00
|
|
|
vendorSha256 = "sha256-f5ozwXpryB7+alJ/ydfpZowJGowcOn6dOHK9pmUSf5c=";
|
2021-04-05 13:56:04 +02: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 21:34:55 +02:00
|
|
|
mainProgram = "nats";
|
2021-04-05 13:56:04 +02:00
|
|
|
};
|
|
|
|
}
|