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 <sandro.jaeckel@gmail.com>

* rename sha256 to hash and reorder it with fetchSubmodules

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>

---------

Co-authored-by: not-leader <not-leader1@outlook.com>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Not-Leader
2023-07-17 19:35:23 +00:00
committed by GitHub
parent aa90c57672
commit a6aae555e2

View File

@@ -1,21 +1,23 @@
{ lib, stdenv, fetchFromGitHub, curl, expat { lib, stdenv, fetchFromGitHub, curl, expat
, jansson, libpng, libjpeg, libGLU, libGL, libXxf86vm, pcre , jansson, libpng, libjpeg, libGLU, libGL
, pkg-config, SDL2, vim, speex }: , libsndfile, libXxf86vm, pcre, pkg-config, SDL2
, vim, speex }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ezquake"; pname = "ezquake";
version = "3.2.3"; version = "3.6.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "ezQuake"; owner = "QW-Group";
repo = pname + "-source"; repo = pname + "-source";
rev = version; rev = version;
sha256 = "sha256-EBhKmoX11JavTG6tPfg15FY2lqOFfzSDg3058OWfcYQ="; fetchSubmodules = true;
hash = "sha256-mi/VDSZ+ybEAaZOhBGh/cSnrRUAB/h+WQZ4Aml0UfW4=";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];
buildInputs = [ 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 installPhase = with lib; let
@@ -30,7 +32,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
meta = with lib; { meta = with lib; {
homepage = "http://ezquake.github.io/"; homepage = "https://ezquake.com/";
description = "A modern QuakeWorld client focused on competitive online play"; description = "A modern QuakeWorld client focused on competitive online play";
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.linux; platforms = platforms.linux;