nak: 0.11.4 -> 0.13.2 (#406050)

authored by Felix Bargfeldt and committed by GitHub 8177318f d3c31920

+10 -9
+10 -9
pkgs/by-name/na/nak/package.nix
··· 1 1 { 2 2 lib, 3 - buildGo123Module, 3 + buildGoModule, 4 4 fetchFromGitHub, 5 5 versionCheckHook, 6 6 nix-update-script, 7 7 }: 8 - buildGo123Module rec { 8 + 9 + buildGoModule (finalAttrs: { 9 10 pname = "nak"; 10 - version = "0.11.4"; 11 + version = "0.13.2"; 11 12 12 13 src = fetchFromGitHub { 13 14 owner = "fiatjaf"; 14 15 repo = "nak"; 15 - tag = "v${version}"; 16 - hash = "sha256-xFATXMK7wyEgnJXmTq9BdW27xqgXUP1Mo0m5QhFIv0I="; 16 + tag = "v${finalAttrs.version}"; 17 + hash = "sha256-Ecn3hIdGzwcUrfSvESCGAYlPo7Kf0425RJ4GBzVYGNs="; 17 18 }; 18 19 19 - vendorHash = "sha256-VkeQLWtyDfZiR0nrhmd5KCi/BIuqrFem9WhcTd3VRcc="; 20 + vendorHash = "sha256-ZDOlQiSVe0hssTsMEtpwIKu5v5zH4RJ+Haq+zS0GTnc="; 20 21 21 22 ldflags = [ 22 23 "-s" 23 24 "-w" 24 - "-X main.version=${version}" 25 + "-X main.version=${finalAttrs.version}" 25 26 ]; 26 27 27 28 # Integration tests fail (requires connection to relays) ··· 36 37 meta = { 37 38 description = "Command-line tool for Nostr things"; 38 39 homepage = "https://github.com/fiatjaf/nak"; 39 - changelog = "https://github.com/fiatjaf/nak/releases/tag/${src.tag}"; 40 + changelog = "https://github.com/fiatjaf/nak/releases/tag/v${finalAttrs.version}"; 40 41 license = lib.licenses.unlicense; 41 42 maintainers = with lib.maintainers; [ nartsiss ]; 42 43 mainProgram = "nak"; 43 44 }; 44 - } 45 + })