Unverified Commit 3566ab72 authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

tonelib-gfx: 4.8.5 -> 4.8.7 (#361792)

parents 66ba544b 89b7c3c5
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
@@ -17,11 +17,21 @@

stdenv.mkDerivation rec {
  pname = "tonelib-gfx";
  version = "4.8.5";
  version = "4.8.7";

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

  nativeBuildInputs = [