mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
Merge pull request #25160 from m3tti/quakespasm
Quakespasm: init at 0.92.1
This commit is contained in:
commit
f79a5fc30d
|
@ -298,6 +298,7 @@
|
|||
luispedro = "Luis Pedro Coelho <luis@luispedro.org>";
|
||||
lukego = "Luke Gorrie <luke@snabb.co>";
|
||||
lw = "Sergey Sofeychuk <lw@fmap.me>";
|
||||
m3tti = "Mathaeus Sander <mathaeus.peter.sander@gmail.com>";
|
||||
ma27 = "Maximilian Bosch <maximilian@mbosch.me>";
|
||||
madjar = "Georges Dubus <georges.dubus@compiletoi.net>";
|
||||
magnetophon = "Bart Brouns <bart@magnetophon.nl>";
|
||||
|
|
40
pkgs/games/quakespasm/default.nix
Normal file
40
pkgs/games/quakespasm/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ stdenv, SDL, fetchurl, gzip, libvorbis, libmad }:
|
||||
stdenv.mkDerivation rec {
|
||||
name = "quakespasm-${version}";
|
||||
majorVersion = "0.92";
|
||||
version = "${majorVersion}.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/quakespasm/quakespasm-${version}.tgz";
|
||||
sha256 = "0vhycjg97sn4cd85ph6qz68rplzrm4apijdkrlj9mycnqjv5l100";
|
||||
};
|
||||
|
||||
sourceRoot = "${name}/Quake";
|
||||
|
||||
buildInputs = [
|
||||
gzip SDL libvorbis libmad
|
||||
];
|
||||
|
||||
preInstall = ''
|
||||
mkdir -p "$out/bin"
|
||||
substituteInPlace Makefile --replace "/usr/local/games" "$out/bin"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
description = "An engine for iD software's Quake";
|
||||
homepage = "http://quakespasm.sourceforge.net/";
|
||||
longDescription = ''
|
||||
QuakeSpasm is a modern, cross-platform Quake 1 engine based on FitzQuake.
|
||||
It includes support for 64 bit CPUs and custom music playback, a new sound driver,
|
||||
some graphical niceities, and numerous bug-fixes and other improvements.
|
||||
Quakespasm utilizes either the SDL or SDL2 frameworks, so choose which one
|
||||
works best for you. SDL is probably less buggy, but SDL2 has nicer features
|
||||
and smoother mouse input - though no CD support.
|
||||
'';
|
||||
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ stdenv.lib.maintainers.m3tti ];
|
||||
};
|
||||
}
|
|
@ -17012,6 +17012,8 @@ with pkgs;
|
|||
|
||||
quake3pointrelease = callPackage ../games/quake3/content/pointrelease.nix { };
|
||||
|
||||
quakespasm = callPackage ../games/quakespasm { };
|
||||
|
||||
ioquake3 = callPackage ../games/quake3/ioquake { };
|
||||
|
||||
quantumminigolf = callPackage ../games/quantumminigolf {};
|
||||
|
|
Loading…
Reference in a new issue