nak: 0.17.4 -> 0.19.13 (#532384)
This commit is contained in:
@@ -2,22 +2,24 @@
|
||||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
pkg-config,
|
||||
fuse,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
buildGoModule (finalAttrs: {
|
||||
pname = "nak";
|
||||
version = "0.17.4";
|
||||
version = "0.19.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "fiatjaf";
|
||||
repo = "nak";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-rljH4uh8NSvJTwEVvk53oYzE2+U5dHeI9f5YZ75a1KA=";
|
||||
hash = "sha256-bM91nnwQxcqzWFFFJXEmCJ1DKBIKb/o/qTwRjxCc15Q=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-c1XSy3guyueiCSVRnRYEkFypzGuMj7/7eOYFluFyeG8=";
|
||||
vendorHash = "sha256-hpvBJXtzKWY5Kuy72qMtw8wuS9ejGy1wT+h28gACsXw=";
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
@@ -25,6 +27,14 @@ buildGoModule (finalAttrs: {
|
||||
"-X main.version=${finalAttrs.version}"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
fuse
|
||||
];
|
||||
|
||||
# Integration tests fail (requires connection to relays)
|
||||
doCheck = false;
|
||||
|
||||
@@ -36,7 +46,7 @@ buildGoModule (finalAttrs: {
|
||||
meta = {
|
||||
description = "Command-line tool for Nostr things";
|
||||
homepage = "https://github.com/fiatjaf/nak";
|
||||
changelog = "https://github.com/fiatjaf/nak/releases/tag/v${finalAttrs.version}";
|
||||
changelog = "https://github.com/fiatjaf/nak/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.unlicense;
|
||||
maintainers = with lib.maintainers; [ nartsiss ];
|
||||
mainProgram = "nak";
|
||||
|
||||
Reference in New Issue
Block a user