Merge pull request #25160 from m3tti/quakespasm

Quakespasm: init at 0.92.1

authored by

Michael Raskin and committed by
GitHub
f79a5fc3 95534bc4

+43
+1
lib/maintainers.nix
··· 298 298 luispedro = "Luis Pedro Coelho <luis@luispedro.org>"; 299 299 lukego = "Luke Gorrie <luke@snabb.co>"; 300 300 lw = "Sergey Sofeychuk <lw@fmap.me>"; 301 + m3tti = "Mathaeus Sander <mathaeus.peter.sander@gmail.com>"; 301 302 ma27 = "Maximilian Bosch <maximilian@mbosch.me>"; 302 303 madjar = "Georges Dubus <georges.dubus@compiletoi.net>"; 303 304 magnetophon = "Bart Brouns <bart@magnetophon.nl>";
+40
pkgs/games/quakespasm/default.nix
··· 1 + { stdenv, SDL, fetchurl, gzip, libvorbis, libmad }: 2 + stdenv.mkDerivation rec { 3 + name = "quakespasm-${version}"; 4 + majorVersion = "0.92"; 5 + version = "${majorVersion}.1"; 6 + 7 + src = fetchurl { 8 + url = "mirror://sourceforge/quakespasm/quakespasm-${version}.tgz"; 9 + sha256 = "0vhycjg97sn4cd85ph6qz68rplzrm4apijdkrlj9mycnqjv5l100"; 10 + }; 11 + 12 + sourceRoot = "${name}/Quake"; 13 + 14 + buildInputs = [ 15 + gzip SDL libvorbis libmad 16 + ]; 17 + 18 + preInstall = '' 19 + mkdir -p "$out/bin" 20 + substituteInPlace Makefile --replace "/usr/local/games" "$out/bin" 21 + ''; 22 + 23 + enableParallelBuilding = true; 24 + 25 + meta = { 26 + description = "An engine for iD software's Quake"; 27 + homepage = "http://quakespasm.sourceforge.net/"; 28 + longDescription = '' 29 + QuakeSpasm is a modern, cross-platform Quake 1 engine based on FitzQuake. 30 + It includes support for 64 bit CPUs and custom music playback, a new sound driver, 31 + some graphical niceities, and numerous bug-fixes and other improvements. 32 + Quakespasm utilizes either the SDL or SDL2 frameworks, so choose which one 33 + works best for you. SDL is probably less buggy, but SDL2 has nicer features 34 + and smoother mouse input - though no CD support. 35 + ''; 36 + 37 + platforms = stdenv.lib.platforms.linux; 38 + maintainers = [ stdenv.lib.maintainers.m3tti ]; 39 + }; 40 + }
+2
pkgs/top-level/all-packages.nix
··· 17012 17012 17013 17013 quake3pointrelease = callPackage ../games/quake3/content/pointrelease.nix { }; 17014 17014 17015 + quakespasm = callPackage ../games/quakespasm { }; 17016 + 17015 17017 ioquake3 = callPackage ../games/quake3/ioquake { }; 17016 17018 17017 17019 quantumminigolf = callPackage ../games/quantumminigolf {};