2023-08-15 19:52:21 +00:00
|
|
|
{ boost
|
2022-05-23 01:11:59 +00:00
|
|
|
, cmake
|
2023-08-15 19:52:21 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
2022-05-23 01:11:59 +00:00
|
|
|
, libGLU
|
|
|
|
, libGL
|
|
|
|
, openssl
|
2023-08-15 19:52:21 +00:00
|
|
|
, pkg-config
|
2022-05-23 01:11:59 +00:00
|
|
|
, SDL
|
|
|
|
, SDL_image
|
|
|
|
, SDL_mixer
|
|
|
|
, SDL_gfx
|
2023-08-15 19:52:21 +00:00
|
|
|
, stdenv
|
|
|
|
, yaml-cpp
|
|
|
|
, zlib
|
2022-05-23 01:11:59 +00:00
|
|
|
}:
|
2014-06-14 09:58:00 +00:00
|
|
|
|
2023-08-15 19:52:21 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "openxcom";
|
2022-12-29 11:19:09 +00:00
|
|
|
version = "1.0.0.2023.08.12";
|
2022-05-23 01:11:59 +00:00
|
|
|
|
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";
|
2022-12-29 11:19:09 +00:00
|
|
|
rev = "bd632cc8569a57fdc3b68ce53f6ea850422ec5ac";
|
|
|
|
hash = "sha256-ouYZ4rAEluqeP+ZUrbEZwCpXCw0cZLWsf1GbIE3jaTc=";
|
2014-06-14 09:58:00 +00:00
|
|
|
};
|
|
|
|
|
2023-08-15 19:52:21 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
];
|
2022-09-17 03:20:55 +00:00
|
|
|
|
2023-08-15 19:52:21 +00:00
|
|
|
buildInputs = [
|
|
|
|
boost
|
|
|
|
libGL
|
|
|
|
libGLU
|
|
|
|
SDL
|
|
|
|
SDL_gfx
|
|
|
|
SDL_image
|
|
|
|
SDL_mixer
|
|
|
|
yaml-cpp
|
|
|
|
openssl
|
|
|
|
zlib
|
|
|
|
];
|
2017-01-19 21:57:29 +00:00
|
|
|
|
2023-08-15 19:52:21 +00:00
|
|
|
meta = {
|
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";
|
2023-08-15 19:52:21 +00:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = with lib.maintainers; [ cpages ];
|
|
|
|
platforms = lib.platforms.linux;
|
2014-06-14 09:58:00 +00:00
|
|
|
};
|
|
|
|
}
|