warzone2100: fix fetch url

The previous url always redirects to the latest version.
See #272701 and https://github.com/Warzone2100/warzone2100/issues/3565.
This commit is contained in:
Francesco Gazzetta 2023-12-11 16:59:28 +01:00
parent 898f355702
commit a59c736495

View file

@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
version = "4.4.1";
src = fetchurl {
url = "mirror://sourceforge/${pname}/releases/${version}/${pname}_src.tar.xz";
url = "mirror://sourceforge/project/warzone2100/releases/${version}/warzone2100_src.tar.xz";
hash = "sha256-8vbwO4PXEOyZqGiSz1yqhe8jfe4E4iv908mc+8xuH8I=";
};