diff options
author | Carles Pagès <page@cubata.homelinux.net> | 2013-04-01 17:56:34 +0200 |
---|---|---|
committer | Carles Pagès <page@cubata.homelinux.net> | 2013-04-02 22:28:30 +0200 |
commit | 8f2662d4800fb55d175075cc5610b0baaae719d2 (patch) | |
tree | 6d2f823a5224e79bfe71bb76c2ea0fa75186d598 /pkgs/games/dhewm3 | |
parent | 9a175a002d2f3611a190669d45395a9524eed32e (diff) |
dhewm3: add current master from github
This is a port of the Doom 3 source code released under GPL. Amongst others,
this makes use of SDL to be multiplatform, and supports amd64.
Diffstat (limited to 'pkgs/games/dhewm3')
-rw-r--r-- | pkgs/games/dhewm3/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/games/dhewm3/default.nix b/pkgs/games/dhewm3/default.nix new file mode 100644 index 000000000000..67e840d8862d --- /dev/null +++ b/pkgs/games/dhewm3/default.nix @@ -0,0 +1,27 @@ +{stdenv, fetchurl, unzip, cmake, SDL, zlib, libjpeg, libogg, libvorbis +, openalSoft , curl }: + +stdenv.mkDerivation rec { + hash = "92a41322f4aa8bd45395d8088721c9a2bf43c79b"; + name = "dhewm3-20130113-${hash}"; + src = fetchurl { + url = "https://github.com/dhewm/dhewm3/zipball/${hash}"; + sha256 = "0c17k60xhimpqi1xi9s1l7jbc97pqjnk4lgwyjb0agc3dkr73zwd"; + #name = "dhewm-dhewm3-92a4132.zip"; + }; + + unpackPhase = '' + unzip ${src} + cd */neo + ''; + + buildInputs = [ unzip cmake SDL zlib libjpeg libogg libvorbis openalSoft + curl ]; + + meta = { + homepage = https://github.com/dhewm/dhewm3; + description = "Doom 3 port to SDL"; + license = "GPLv3"; + }; +} + |