From a6aae555e2ae851ccf86c2b18df693258b0a35de Mon Sep 17 00:00:00 2001 From: Not-Leader <73873702+Not-Leader@users.noreply.github.com> Date: Mon, 17 Jul 2023 19:35:23 +0000 Subject: [PATCH] ezquake: 3.2.3 -> 3.6.2 (#226174) * ezquake: 3.2.3 -> 3.6.2 https://github.com/QW-Group/ezquake-source/releases/tag/3.6.2 * use https link for ezquake Co-authored-by: Sandro * rename sha256 to hash and reorder it with fetchSubmodules Co-authored-by: Sandro --------- Co-authored-by: not-leader Co-authored-by: Sandro --- pkgs/games/ezquake/default.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/pkgs/games/ezquake/default.nix b/pkgs/games/ezquake/default.nix index 90ddb6d6452e..e9b173909a85 100644 --- a/pkgs/games/ezquake/default.nix +++ b/pkgs/games/ezquake/default.nix @@ -1,21 +1,23 @@ { lib, stdenv, fetchFromGitHub, curl, expat -, jansson, libpng, libjpeg, libGLU, libGL, libXxf86vm, pcre -, pkg-config, SDL2, vim, speex }: +, jansson, libpng, libjpeg, libGLU, libGL +, libsndfile, libXxf86vm, pcre, pkg-config, SDL2 +, vim, speex }: stdenv.mkDerivation rec { pname = "ezquake"; - version = "3.2.3"; + version = "3.6.2"; src = fetchFromGitHub { - owner = "ezQuake"; + owner = "QW-Group"; repo = pname + "-source"; rev = version; - sha256 = "sha256-EBhKmoX11JavTG6tPfg15FY2lqOFfzSDg3058OWfcYQ="; + fetchSubmodules = true; + hash = "sha256-mi/VDSZ+ybEAaZOhBGh/cSnrRUAB/h+WQZ4Aml0UfW4="; }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ - expat curl jansson libpng libjpeg libGLU libGL libXxf86vm pcre SDL2 vim speex + expat curl jansson libpng libjpeg libGLU libGL libsndfile libXxf86vm pcre SDL2 vim speex ]; installPhase = with lib; let @@ -30,7 +32,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; meta = with lib; { - homepage = "http://ezquake.github.io/"; + homepage = "https://ezquake.com/"; description = "A modern QuakeWorld client focused on competitive online play"; license = licenses.gpl2; platforms = platforms.linux;