2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, libGLU
|
|
|
|
, libGL
|
|
|
|
, zlib
|
|
|
|
, openssl
|
|
|
|
, libyamlcpp
|
|
|
|
, boost
|
|
|
|
, SDL
|
|
|
|
, SDL_image
|
|
|
|
, SDL_mixer
|
|
|
|
, SDL_gfx
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "openxcom";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "1.0.0.2019.10.18";
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenXcom";
|
|
|
|
repo = "OpenXcom";
|
|
|
|
rev = "f9853b2cb8c8f741ac58707487ef493416d890a3";
|
2022-06-16 17:23:12 +00:00
|
|
|
hash = "sha256-APv49ZT94oeM4KVKGtUdoQ1t8Ly8lsocr+FqXiRXbk0=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ SDL SDL_gfx SDL_image SDL_mixer boost libyamlcpp libGLU libGL openssl zlib ];
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Open source clone of UFO: Enemy Unknown";
|
|
|
|
homepage = "https://openxcom.org";
|
2022-06-16 17:23:12 +00:00
|
|
|
maintainers = with maintainers; [ cpages ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|