2021-04-08 16:26:57 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "natscli";
|
2024-07-31 10:19:44 +00:00
|
|
|
version = "0.1.5";
|
2021-04-08 16:26:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nats-io";
|
2024-02-29 20:09:43 +00:00
|
|
|
repo = "natscli";
|
|
|
|
rev = "refs/tags/v${version}";
|
2024-07-31 10:19:44 +00:00
|
|
|
hash = "sha256-hLjiY4+01t1ZlP+N8qBG0YiDiw6VdTdeNkrwHwthrjk=";
|
2021-04-08 16:26:57 +00:00
|
|
|
};
|
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
vendorHash = "sha256-T6VcyklwfRS012ZRzqxkahn9YYrQGky/znTqLIkAoK0=";
|
2021-04-08 16:26:57 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "NATS Command Line Interface";
|
|
|
|
homepage = "https://github.com/nats-io/natscli";
|
2024-02-29 20:09:43 +00:00
|
|
|
changelog = "https://github.com/nats-io/natscli/releases/tag/v${version}";
|
2021-04-08 16:26:57 +00:00
|
|
|
license = with licenses; [ asl20 ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
2022-04-27 09:35:20 +00:00
|
|
|
mainProgram = "nats";
|
2021-04-08 16:26:57 +00:00
|
|
|
};
|
|
|
|
}
|