2018-07-21 02:44:44 +02:00
|
|
|
{stdenv, fetchFromGitHub, cmake, libGLU_combined, zlib, openssl, libyamlcpp, boost
|
2014-06-14 11:58:00 +02:00
|
|
|
, SDL, SDL_image, SDL_mixer, SDL_gfx }:
|
|
|
|
|
2018-02-13 15:24:43 +01:00
|
|
|
let version = "1.0.0.2018.01.28"; in
|
2014-06-14 11:58:00 +02:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "openxcom-${version}";
|
2018-02-13 15:24:43 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SupSuper";
|
|
|
|
repo = "OpenXcom";
|
|
|
|
rev = "b148916268a6ce104c3b6b7eb4d9e0487cba5487";
|
|
|
|
sha256 = "1128ip3g4aw59f3f23mvlyhl8xckhwjjw9rd7wn7xv51hxdh191c";
|
2014-06-14 11:58:00 +02:00
|
|
|
};
|
|
|
|
|
2018-02-13 15:24:43 +01:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2018-02-24 14:12:44 +01:00
|
|
|
buildInputs = [ SDL SDL_gfx SDL_image SDL_mixer boost libyamlcpp libGLU_combined openssl zlib ];
|
2017-01-19 22:57:29 +01:00
|
|
|
|
2014-06-14 11:58:00 +02:00
|
|
|
meta = {
|
|
|
|
description = "Open source clone of UFO: Enemy Unknown";
|
2018-06-23 13:34:55 +02:00
|
|
|
homepage = https://openxcom.org;
|
2014-06-14 11:58:00 +02:00
|
|
|
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
|
|
|
};
|
|
|
|
|
|
|
|
}
|