Skip to content

Commit 3566ab7

Browse files
tonelib-gfx: 4.8.5 -> 4.8.7 (#361792)
2 parents 66ba544 + 89b7c3c commit 3566ab7

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

pkgs/by-name/to/tonelib-gfx/package.nix

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,21 @@
1717

1818
stdenv.mkDerivation rec {
1919
pname = "tonelib-gfx";
20-
version = "4.8.5";
20+
version = "4.8.7";
2121

22+
# It's hard to find out when a release happens and what version that release is,
23+
# without visiting the site directly.
24+
#
25+
# The following command can retrieve the latest released version.
26+
# curl --silent https://tonelib.net/downloads.html | \
27+
# grep -P 'ToneLib GFX</h3' -A3 | \
28+
# sed -nE 's/^.*Version: ([0-9.]+).*/\1/p'
29+
#
30+
# The following command gives us the URL for the latest release without intermediate redirects.
31+
# curl --head 'https://www.tonelib.net/download.php?id=gfx&os=lnx'
2232
src = fetchurl {
23-
url = "https://tonelib.vip/download/24-10-03/ToneLib-GFX-amd64.deb";
24-
hash = "sha256-RG5rliF4/9LDd07i5dSFQzTGPqyF6UmTfatKb59LZA4=";
33+
url = "https://tonelib.vip/download/24-10-24/ToneLib-GFX-amd64.deb";
34+
hash = "sha256-2ao6tTRbPMpE2Y/7/gwQN3G5Z6Uu+SQel9o1ejwD9v4=";
2535
};
2636

2737
nativeBuildInputs = [

0 commit comments

Comments
 (0)