1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00
nixpkgs/pkgs/tools/system/natscli/default.nix

27 lines
588 B
Nix
Raw Normal View History

2021-04-05 12:56:04 +01:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "natscli";
2022-09-10 02:34:15 +01:00
version = "0.0.34";
2021-04-05 12:56:04 +01:00
src = fetchFromGitHub {
owner = "nats-io";
repo = pname;
2021-12-03 10:34:26 +00:00
rev = "v${version}";
2022-09-10 02:34:15 +01:00
sha256 = "sha256-tDs0OrMeWLhBUnngJRBmAauwMA/zdMC4ED7xcCED4Zs=";
2021-04-05 12:56:04 +01:00
};
2022-09-10 02:34:15 +01:00
vendorSha256 = "sha256-Wv0V1/BbO8cP9Qj1TBCDpPTpbv3xzT8eCLPBhCPxRKo=";
2021-04-05 12:56:04 +01:00
meta = with lib; {
description = "NATS Command Line Interface";
homepage = "https://github.com/nats-io/natscli";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
mainProgram = "nats";
2021-04-05 12:56:04 +01:00
};
}