Merge pull request #124933 from NixOS/backport-124575-to-release-21.05

[Backport release-21.05] goattracker,goattracker-stereo: 2.75 -> 2.76, 2.76 -> 2.77
This commit is contained in:
Robert Scott 2021-05-30 13:39:13 +01:00 committed by GitHub
commit d9df705215
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -27,16 +27,16 @@ let
in stdenv.mkDerivation rec { in stdenv.mkDerivation rec {
inherit pname; inherit pname;
version = if isStereo version = if isStereo
then "2.76" # stereo then "2.77" # stereo
else "2.75"; # normal else "2.76"; # normal
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/goattracker2/GoatTracker_${version}${optionalString isStereo "_Stereo"}.zip"; url = "mirror://sourceforge/goattracker2/GoatTracker_${version}${optionalString isStereo "_Stereo"}.zip";
sha256 = if isStereo sha256 = if isStereo
then "12cz3780x5k047jqdv69n6rjgbfiwv67z850kfl4i37lxja432l7" # stereo then "1hiig2d152sv9kazwz33i56x1c54h5sh21ipkqnp6qlnwj8x1ksy" # stereo
else "1km97nl7qvk6qc5l5j69wncbm76hf86j47sgzgr968423g0bxxlk"; # normal else "0d7a3han4jw4bwiba3j87racswaajgl3pj4sb5lawdqdxicv3dn1"; # normal
}; };
sourceRoot = (if isStereo then "gt2stereo/trunk" else "goattrk2") + "/src"; sourceRoot = "src";
nativeBuildInputs = [ copyDesktopItems unzip imagemagick ]; nativeBuildInputs = [ copyDesktopItems unzip imagemagick ];
buildInputs = [ SDL ]; buildInputs = [ SDL ];