2021-04-05 13:56:04 +02:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "natscli";
|
2021-12-03 11:34:26 +01:00
|
|
|
version = "0.0.28";
|
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}";
|
2021-09-09 17:04:59 +02:00
|
|
|
sha256 = "sha256-w0a2BzfRKf55hFgdaDLsR2YeC5Jqa2uynlRN2oGPX8g=";
|
2021-04-05 13:56:04 +02:00
|
|
|
};
|
|
|
|
|
2021-09-09 17:04:59 +02:00
|
|
|
vendorSha256 = "sha256-kt6KflivmsG6prxWXtODcXSP2sNn4daH8ruZMxYLk3g=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|