2022-05-23 01:11:59 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, libGLU
|
|
|
|
, libGL
|
|
|
|
, zlib
|
|
|
|
, openssl
|
|
|
|
, libyamlcpp
|
|
|
|
, boost
|
|
|
|
, SDL
|
|
|
|
, SDL_image
|
|
|
|
, SDL_mixer
|
|
|
|
, SDL_gfx
|
|
|
|
}:
|
2014-06-14 09:58:00 +00:00
|
|
|
|
2022-05-23 01:11:59 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "openxcom";
|
2022-05-23 01:11:59 +00:00
|
|
|
version = "1.0.0.2019.10.18";
|
|
|
|
|
2018-02-13 14:24:43 +00:00
|
|
|
src = fetchFromGitHub {
|
2019-10-20 20:40:18 +00:00
|
|
|
owner = "OpenXcom";
|
2018-02-13 14:24:43 +00:00
|
|
|
repo = "OpenXcom";
|
2019-10-20 20:40:18 +00:00
|
|
|
rev = "f9853b2cb8c8f741ac58707487ef493416d890a3";
|
2022-05-23 01:11:59 +00:00
|
|
|
hash = "sha256-APv49ZT94oeM4KVKGtUdoQ1t8Ly8lsocr+FqXiRXbk0=";
|
2014-06-14 09:58:00 +00: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
|
|
|
|
2022-05-23 01:11:59 +00:00
|
|
|
meta = with lib; {
|
2014-06-14 09:58:00 +00:00
|
|
|
description = "Open source clone of UFO: Enemy Unknown";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://openxcom.org";
|
2022-05-23 01:11:59 +00:00
|
|
|
maintainers = with maintainers; [ cpages ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3;
|
2014-06-14 09:58:00 +00:00
|
|
|
};
|
|
|
|
}
|