2021-04-05 13:56:04 +02:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "natscli";
|
2021-07-23 13:17:21 +02:00
|
|
|
version = "0.0.25";
|
2021-04-05 13:56:04 +02:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nats-io";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-07-23 13:17:21 +02:00
|
|
|
sha256 = "180511x3sciqs0njz80qc1a785m84ks9l338qi3liv7bcd541xcr";
|
2021-04-05 13:56:04 +02:00
|
|
|
};
|
|
|
|
|
2021-07-23 13:17:21 +02:00
|
|
|
vendorSha256 = "1j2a6wmyb9akndiwq79jqy5lz84bz2k01xp505j60ynsflim7shq";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|