Skip to content

Commit acb6b25

Browse files
NotAShelfJohnRTitor
authored andcommitted
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.
1 parent fdcf8ff commit acb6b25

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

pkgs/by-name/he/hexxy/package.nix

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
fetchFromGitHub,
55
nix-update-script,
66
}:
7-
buildGoModule {
7+
buildGoModule (finalAttrs: {
88
pname = "hexxy";
9-
version = "0-unstable-2025-03-16";
9+
version = "0.1.1";
1010
src = fetchFromGitHub {
1111
owner = "sweetbbak";
1212
repo = "hexxy";
13-
# upstream does not publish releases, i.e., there are no tags
14-
rev = "d90f345ba80078b18baf006b3a5aec92d2c330e1";
15-
hash = "sha256-htTGdcJ3oMgfsJ3FH1aRnI2vxMNpBcLksABA75EQUFo=";
13+
14+
tag = "v${finalAttrs.version}";
15+
hash = "sha256-pboOpPGqlSWSiP6yWONxC3wbrGc8FN0++5vHd4ERbkA=";
1616
};
1717

1818
vendorHash = "sha256-qkBpSVLWZPRgS9bqOVUWHpyj8z/nheQJON3vJOwPUj4=";
@@ -21,12 +21,7 @@ buildGoModule {
2121
"-w"
2222
];
2323

24-
passthru.updateScript = nix-update-script {
25-
extraArgs = [
26-
"--version"
27-
"branch"
28-
];
29-
};
24+
passthru.updateScript = nix-update-script { };
3025

3126
meta = {
3227
description = "A modern and beautiful alternative to xxd and hexdump";
@@ -35,4 +30,4 @@ buildGoModule {
3530
maintainers = [ lib.maintainers.NotAShelf ];
3631
mainProgram = "hexxy";
3732
};
38-
}
33+
})

0 commit comments

Comments
 (0)