mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
Adding zdoom.
svn path=/nixpkgs/trunk/; revision=14194
This commit is contained in:
parent
9ab8cb9ec1
commit
5b3759c30d
29
pkgs/games/zdoom/default.nix
Normal file
29
pkgs/games/zdoom/default.nix
Normal file
@ -0,0 +1,29 @@
|
||||
{stdenv, fetchsvn, cmake, SDL, nasm, p7zip, zlib, flac, fmod, libjpeg}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "zdoom-svn-1424";
|
||||
src = fetchsvn {
|
||||
url = http://mancubus.net/svn/hosted/zdoom/zdoom/trunk;
|
||||
rev = 1424;
|
||||
};
|
||||
buildInputs = [cmake nasm SDL p7zip zlib flac fmod libjpeg];
|
||||
|
||||
cmakeFlags = [ "-DSDL_INCLUDE_DIR=${SDL}/include/SDL" ];
|
||||
|
||||
preConfigure=''
|
||||
sed s@zdoom.pk3@$out/share/zdoom.pk3@ -i src/version.h
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp zdoom $out/bin
|
||||
mkdir -p $out/share
|
||||
cp zdoom.pk3 $out/share
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://zdoom.org/;
|
||||
description = "Enhanced port of the official DOOM source code";
|
||||
};
|
||||
}
|
||||
|
@ -9029,6 +9029,10 @@ let
|
||||
inherit (xlibs) libX11 xproto libXpm libXt;
|
||||
};
|
||||
|
||||
zdoom = import ../games/zdoom {
|
||||
inherit cmake stdenv fetchsvn SDL nasm p7zip zlib flac fmod libjpeg;
|
||||
};
|
||||
|
||||
zoom = import ../games/zoom {
|
||||
inherit fetchurl stdenv perl expat freetype;
|
||||
inherit (xlibs) xlibs;
|
||||
|
Loading…
Reference in New Issue
Block a user