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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
676 B
Nix
Raw Normal View History

2021-04-05 11:56:04 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "natscli";
2024-03-13 08:24:48 +00:00
version = "0.1.4";
2021-04-05 11:56:04 +00:00
src = fetchFromGitHub {
owner = "nats-io";
2024-02-17 17:05:37 +00:00
repo = "natscli";
rev = "refs/tags/v${version}";
2024-03-13 08:24:48 +00:00
hash = "sha256-c2bFFbHKjKwkzX2Br1CC2aMh1Tz0NPVWCfPSFbu/XnU=";
2021-04-05 11:56:04 +00:00
};
2024-03-13 08:24:48 +00:00
vendorHash = "sha256-ltTQWAS6OG485oj6GEpgQnnuCUunSqUtgq1/OPcjKmQ=";
2021-04-05 11:56:04 +00:00
meta = with lib; {
description = "NATS Command Line Interface";
homepage = "https://github.com/nats-io/natscli";
2024-02-17 17:05:37 +00:00
changelog = "https://github.com/nats-io/natscli/releases/tag/v${version}";
2021-04-05 11:56:04 +00:00
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
mainProgram = "nats";
2021-04-05 11:56:04 +00:00
};
}