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

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

27 lines
585 B
Nix
Raw Normal View History

2021-04-05 11:56:04 +00:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "natscli";
version = "0.1.1";
2021-04-05 11:56:04 +00:00
src = fetchFromGitHub {
owner = "nats-io";
repo = pname;
2021-12-03 10:34:26 +00:00
rev = "v${version}";
sha256 = "sha256-ktO+WrsacnQOgPZeyNTyUSATVwVud399YmcqgJ4PLTw=";
2021-04-05 11:56:04 +00:00
};
vendorHash = "sha256-5v3pPzt/U6kAHF9K7bb+Wu39gLh0O4TDIRgEToPNT6c=";
2021-04-05 11:56:04 +00: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 11:56:04 +00:00
};
}