@@ -6,18 +6,21 @@
66, alsaLib
77, SDL
88, jack2
9+, audiofile
910, goocanvas # graphical envelope editing
1011}:
1112
1213stdenv.mkDerivation rec {
1314 pname = "soundtracker";
14− version = "1.0.0.1";
15+ version = "1.0.1";
1516
1617 src = fetchurl {
1718 # Past releases get moved to the "old releases" directory.
18− # Only the latest release (currently a prerelease) is at the top level.
19− url = "mirror://sourceforge/soundtracker/old%20releases/soundtracker-${version}.tar.bz2";
20− sha256 = "1ggliswz5ngmlnrnyhv3x1arh5w77an0ww9p53cddp9aas5q11jm";
19+ # Only the latest release is at the top level.
20+ # Nonetheless, only the name of the file seems to affect which file is
21+ # downloaded, so this path should be fine both for old and current releases.
22+ url = "mirror://sourceforge/soundtracker/soundtracker-${version}.tar.bz2";
23+ sha256 = "0m5iiqccch6w53khpvdldz59zymw13vmwqc5ggx3sn41riwbd6ks";
2124 };
2225
2326 nativeBuildInputs = [
@@ -28,9 +31,12 @@ stdenv.mkDerivation rec {
2831 gtk2
2932 SDL
3033 jack2
34+ audiofile
3135 goocanvas
3236 ] ++ stdenv.lib.optional stdenv.isLinux alsaLib;
3337
38+ hardeningDisable = [ "format" ];
39+
3440 meta = with stdenv.lib; {
3541 description = "A music tracking tool similar in design to the DOS program FastTracker and the Amiga legend ProTracker";
3642 longDescription = ''