2017-01-19 22:57:29 +01:00
|
|
|
{stdenv, fetchurl, fetchpatch, cmake, mesa, zlib, openssl, libyamlcpp, boost
|
2014-06-14 11:58:00 +02:00
|
|
|
, SDL, SDL_image, SDL_mixer, SDL_gfx }:
|
|
|
|
|
|
|
|
let version = "1.0.0"; in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "openxcom-${version}";
|
|
|
|
src = fetchurl {
|
2014-06-19 10:12:40 +02:00
|
|
|
url = http://openxcom.org/file/1726/;
|
|
|
|
sha256 = "1rmg10nklvf86ckbbssyvbg5cd4p7in5zq3mas2yyffdjk9i40v6";
|
2014-06-14 11:58:00 +02:00
|
|
|
name = "openxcom-${version}.tar.gz";
|
|
|
|
};
|
|
|
|
|
2014-09-15 00:53:05 +02:00
|
|
|
buildInputs = [ cmake mesa zlib openssl libyamlcpp boost
|
2014-06-14 11:58:00 +02:00
|
|
|
SDL SDL_image SDL_mixer SDL_gfx ];
|
|
|
|
|
2017-01-19 22:57:29 +01:00
|
|
|
patches = [ (fetchpatch {
|
|
|
|
url = "https://github.com/SupSuper/OpenXcom/commit/49bec0851fc6e5365cac0f71b2c40a80ddf95e77.patch";
|
|
|
|
sha256 = "156fk8wz4qc0nmqq3zjb6kw84qirabads2azr6xvlgb3lcn327v2";
|
|
|
|
}) ];
|
|
|
|
|
2014-06-14 11:58:00 +02:00
|
|
|
meta = {
|
|
|
|
description = "Open source clone of UFO: Enemy Unknown";
|
|
|
|
homepage = http://openxcom.org;
|
|
|
|
repositories.git = https://github.com/SupSuper/OpenXcom.git;
|
2017-01-20 12:23:57 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.cpages ];
|
2014-06-14 11:58:00 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2014-06-14 11:58:00 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|