2019-11-10 16:44:34 +00:00
|
|
|
{stdenv, fetchFromGitHub, cmake, libGLU, libGL, zlib, openssl, libyamlcpp, boost
|
2014-06-14 10:58:00 +01:00
|
|
|
, SDL, SDL_image, SDL_mixer, SDL_gfx }:
|
|
|
|
|
2019-10-20 21:40:18 +01:00
|
|
|
let version = "1.0.0.2019.10.18"; in
|
2014-06-14 10:58:00 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 22:52:01 +01:00
|
|
|
pname = "openxcom";
|
|
|
|
inherit version;
|
2018-02-13 14:24:43 +00:00
|
|
|
src = fetchFromGitHub {
|
2019-10-20 21:40:18 +01:00
|
|
|
owner = "OpenXcom";
|
2018-02-13 14:24:43 +00:00
|
|
|
repo = "OpenXcom";
|
2019-10-20 21:40:18 +01:00
|
|
|
rev = "f9853b2cb8c8f741ac58707487ef493416d890a3";
|
|
|
|
sha256 = "0kbfawj5wsp1mwfcm5mwpkq6s3d13pailjm5w268gqpxjksziyq0";
|
2014-06-14 10:58:00 +01:00
|
|
|
};
|
|
|
|
|
2018-02-13 14:24:43 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2019-11-10 16:44:34 +00:00
|
|
|
buildInputs = [ SDL SDL_gfx SDL_image SDL_mixer boost libyamlcpp libGLU libGL openssl zlib ];
|
2017-01-19 21:57:29 +00:00
|
|
|
|
2014-06-14 10:58:00 +01:00
|
|
|
meta = {
|
|
|
|
description = "Open source clone of UFO: Enemy Unknown";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://openxcom.org";
|
|
|
|
repositories.git = "https://github.com/SupSuper/OpenXcom.git";
|
2017-01-20 11:23:57 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.cpages ];
|
2014-06-14 10:58:00 +01:00
|
|
|
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
|
|
|
};
|
|
|
|
|
|
|
|
}
|