From acb6b253f13964afac73ee683f34422744f41d66 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Fri, 28 Mar 2025 03:16:24 +0300 Subject: [PATCH] hexxy: 0-unstable-2024-09-29 -> 0.1.1 Upstream has finally decided to tag their releases, so let's use them. Moves hexxy to tagged releasess from an unstable revision, and updates to the 0.1.1 tag. --- pkgs/by-name/he/hexxy/package.nix | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/pkgs/by-name/he/hexxy/package.nix b/pkgs/by-name/he/hexxy/package.nix index d33ebbc6d762..fadbfc446831 100644 --- a/pkgs/by-name/he/hexxy/package.nix +++ b/pkgs/by-name/he/hexxy/package.nix @@ -4,15 +4,15 @@ fetchFromGitHub, nix-update-script, }: -buildGoModule { +buildGoModule (finalAttrs: { pname = "hexxy"; - version = "0-unstable-2025-03-16"; + version = "0.1.1"; src = fetchFromGitHub { owner = "sweetbbak"; repo = "hexxy"; - # upstream does not publish releases, i.e., there are no tags - rev = "d90f345ba80078b18baf006b3a5aec92d2c330e1"; - hash = "sha256-htTGdcJ3oMgfsJ3FH1aRnI2vxMNpBcLksABA75EQUFo="; + + tag = "v${finalAttrs.version}"; + hash = "sha256-pboOpPGqlSWSiP6yWONxC3wbrGc8FN0++5vHd4ERbkA="; }; vendorHash = "sha256-qkBpSVLWZPRgS9bqOVUWHpyj8z/nheQJON3vJOwPUj4="; @@ -21,12 +21,7 @@ buildGoModule { "-w" ]; - passthru.updateScript = nix-update-script { - extraArgs = [ - "--version" - "branch" - ]; - }; + passthru.updateScript = nix-update-script { }; meta = { description = "A modern and beautiful alternative to xxd and hexdump"; @@ -35,4 +30,4 @@ buildGoModule { maintainers = [ lib.maintainers.NotAShelf ]; mainProgram = "hexxy"; }; -} +})