From 71412714101e19f5b530fea8e6b5fc9733523011 Mon Sep 17 00:00:00 2001 From: Francesco Gazzetta Date: Wed, 29 Jul 2020 23:20:33 +0200 Subject: [PATCH] soundtracker: 1.0.0.1 -> 1.0.1 --- pkgs/applications/audio/soundtracker/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/audio/soundtracker/default.nix b/pkgs/applications/audio/soundtracker/default.nix index ce73203c9590..1fd341765b09 100644 --- a/pkgs/applications/audio/soundtracker/default.nix +++ b/pkgs/applications/audio/soundtracker/default.nix @@ -6,18 +6,21 @@ , alsaLib , SDL , jack2 +, audiofile , goocanvas # graphical envelope editing }: stdenv.mkDerivation rec { pname = "soundtracker"; - version = "1.0.0.1"; + version = "1.0.1"; src = fetchurl { # Past releases get moved to the "old releases" directory. - # Only the latest release (currently a prerelease) is at the top level. - url = "mirror://sourceforge/soundtracker/old%20releases/soundtracker-${version}.tar.bz2"; - sha256 = "1ggliswz5ngmlnrnyhv3x1arh5w77an0ww9p53cddp9aas5q11jm"; + # Only the latest release is at the top level. + # Nonetheless, only the name of the file seems to affect which file is + # downloaded, so this path should be fine both for old and current releases. + url = "mirror://sourceforge/soundtracker/soundtracker-${version}.tar.bz2"; + sha256 = "0m5iiqccch6w53khpvdldz59zymw13vmwqc5ggx3sn41riwbd6ks"; }; nativeBuildInputs = [ @@ -28,9 +31,12 @@ stdenv.mkDerivation rec { gtk2 SDL jack2 + audiofile goocanvas ] ++ stdenv.lib.optional stdenv.isLinux alsaLib; + hardeningDisable = [ "format" ]; + meta = with stdenv.lib; { description = "A music tracking tool similar in design to the DOS program FastTracker and the Amiga legend ProTracker"; longDescription = ''