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";
|
2024-04-30 19:53:35 +00:00
|
|
|
version = "1.0.0.2024.02.28";
|
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";
|
2024-04-30 19:53:35 +00:00
|
|
|
rev = "e2c5a1b45c33957ce7e206207c5fb752c1e79ae1";
|
|
|
|
hash = "sha256-2G2dSvoDdacdYsXS51h3aGLCCjbHwcvD4CNnQIH/J6A=";
|
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";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "openxcom";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://openxcom.org";
|
2023-08-15 19:52:21 +00:00
|
|
|
license = lib.licenses.gpl3;
|
2024-07-28 14:44:11 +00:00
|
|
|
maintainers = [ ];
|
2023-08-15 19:52:21 +00:00
|
|
|
platforms = lib.platforms.linux;
|
2014-06-14 09:58:00 +00:00
|
|
|
};
|
|
|
|
}
|