2014-06-14 10:58:00 +01:00
|
|
|
{stdenv, fetchurl, cmake, mesa, zlib, openssl, libyamlcpp, boostHeaders
|
|
|
|
, SDL, SDL_image, SDL_mixer, SDL_gfx }:
|
|
|
|
|
|
|
|
let version = "1.0.0"; in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "openxcom-${version}";
|
|
|
|
src = fetchurl {
|
2014-06-19 09:12:40 +01:00
|
|
|
url = http://openxcom.org/file/1726/;
|
|
|
|
sha256 = "1rmg10nklvf86ckbbssyvbg5cd4p7in5zq3mas2yyffdjk9i40v6";
|
2014-06-14 10:58:00 +01:00
|
|
|
name = "openxcom-${version}.tar.gz";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ cmake mesa zlib openssl libyamlcpp boostHeaders
|
|
|
|
SDL SDL_image SDL_mixer SDL_gfx ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Open source clone of UFO: Enemy Unknown";
|
|
|
|
homepage = http://openxcom.org;
|
|
|
|
repositories.git = https://github.com/SupSuper/OpenXcom.git;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.page ];
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2014-06-14 10:58:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|