nixpkgs/pkgs/tools/system/natscli/default.nix

26 lines
558 B
Nix
Raw Normal View History

2021-04-05 14:56:04 +03:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "natscli";
2021-07-23 14:17:21 +03:00
version = "0.0.25";
2021-04-05 14:56:04 +03:00
src = fetchFromGitHub {
owner = "nats-io";
repo = pname;
rev = version;
2021-07-23 14:17:21 +03:00
sha256 = "180511x3sciqs0njz80qc1a785m84ks9l338qi3liv7bcd541xcr";
2021-04-05 14:56:04 +03:00
};
2021-07-23 14:17:21 +03:00
vendorSha256 = "1j2a6wmyb9akndiwq79jqy5lz84bz2k01xp505j60ynsflim7shq";
2021-04-05 14:56:04 +03:00
meta = with lib; {
description = "NATS Command Line Interface";
homepage = "https://github.com/nats-io/natscli";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
};
}