nak: init at 0.7.6 (#346688)
This commit is contained in:
commit
01e72d476e
36
pkgs/by-name/na/nak/package.nix
Normal file
36
pkgs/by-name/na/nak/package.nix
Normal file
@ -0,0 +1,36 @@
|
||||
{
|
||||
lib,
|
||||
buildGo123Module,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
buildGo123Module rec {
|
||||
pname = "nak";
|
||||
version = "0.7.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fiatjaf";
|
||||
repo = "nak";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-VUSBCvDW53Z+mdAx0bUQIgcsiEwxOnm/FnnMcSC0iks=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-alex1YEkviR5O0KLGZlOsf1i7s6m1C4LxHdJCogDCng=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.version=${version}"
|
||||
];
|
||||
|
||||
# Integration tests fail (requires connection to relays)
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Command-line tool for Nostr things";
|
||||
homepage = "https://github.com/fiatjaf/nak";
|
||||
changelog = "https://github.com/fiatjaf/nak/releases/tag/${version}";
|
||||
license = lib.licenses.unlicense;
|
||||
maintainers = with lib.maintainers; [ nartsiss ];
|
||||
mainProgram = "nak";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user