soundtracker: 1.0.3 -> 1.0.4, use fetchzip
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{ lib, stdenv
|
||||
, fetchurl
|
||||
, fetchzip
|
||||
, pkg-config
|
||||
, autoreconfHook
|
||||
, gtk2
|
||||
@@ -8,19 +8,21 @@
|
||||
, jack2
|
||||
, audiofile
|
||||
, goocanvas # graphical envelope editing
|
||||
, libxml2
|
||||
, libsndfile
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "soundtracker";
|
||||
version = "1.0.3";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchurl {
|
||||
src = fetchzip {
|
||||
# Past releases get moved to the "old releases" directory.
|
||||
# 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.xz";
|
||||
sha256 = "sha256-k+TB1DIauOIeQSCVV5uYu69wwRx7vCRAlSCTAtDguKo=";
|
||||
hash = "sha256-kNt0BSRaEQY+oa1xbuZ1l6nCqXhcktVugxzcC3ZDaX0=";
|
||||
};
|
||||
|
||||
postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
@@ -55,6 +57,8 @@ stdenv.mkDerivation rec {
|
||||
jack2
|
||||
audiofile
|
||||
goocanvas
|
||||
libxml2
|
||||
libsndfile
|
||||
] ++ lib.optional stdenv.isLinux alsa-lib;
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user