nixpkgs-suyu/pkgs/tools/system/nkeys/default.nix

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

28 lines
671 B
Nix
Raw Normal View History

2021-04-05 14:10:04 +02:00
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "nkeys";
2023-03-19 08:57:04 +01:00
version = "0.4.4";
2021-04-05 14:10:04 +02:00
src = fetchFromGitHub {
owner = "nats-io";
repo = pname;
2023-03-19 12:33:18 +01:00
rev = "refs/tags/v${version}";
hash = "sha256-ePpFzwjFKcm/xgt9TBl1CVnJYxO389rV9uLONeUeX0c=";
2021-04-05 14:10:04 +02:00
};
2023-03-19 08:57:04 +01:00
vendorHash = "sha256-ozK0vimYs7wGplw1QhSu+q8R+YsIYHU4m08a7K6i78I=";
2021-04-05 14:10:04 +02:00
meta = with lib; {
description = "Public-key signature system for NATS";
homepage = "https://github.com/nats-io/nkeys";
2023-03-19 12:33:18 +01:00
changelog = "https://github.com/nats-io/nkeys/releases/tag/v${version}";
2021-04-05 14:10:04 +02:00
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
mainProgram = "nk";
2021-04-05 14:10:04 +02:00
};
}