2023-08-22 20:05:09 +00:00
|
|
|
{ boost
|
2022-06-16 17:23:12 +00:00
|
|
|
, cmake
|
2023-08-22 20:05:09 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, lib
|
2022-06-16 17:23:12 +00:00
|
|
|
, libGLU
|
|
|
|
, libGL
|
|
|
|
, openssl
|
2023-08-22 20:05:09 +00:00
|
|
|
, pkg-config
|
2022-06-16 17:23:12 +00:00
|
|
|
, SDL
|
|
|
|
, SDL_image
|
|
|
|
, SDL_mixer
|
|
|
|
, SDL_gfx
|
2023-08-22 20:05:09 +00:00
|
|
|
, stdenv
|
|
|
|
, yaml-cpp
|
|
|
|
, zlib
|
2022-06-16 17:23:12 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
stdenv.mkDerivation {
|
2020-04-24 23:36:52 +00:00
|
|
|
pname = "openxcom";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "1.0.0.2024.02.28";
|
2022-06-16 17:23:12 +00:00
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "OpenXcom";
|
|
|
|
repo = "OpenXcom";
|
2024-05-15 15:35:15 +00:00
|
|
|
rev = "e2c5a1b45c33957ce7e206207c5fb752c1e79ae1";
|
|
|
|
hash = "sha256-2G2dSvoDdacdYsXS51h3aGLCCjbHwcvD4CNnQIH/J6A=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
];
|
2022-09-22 12:36:57 +00:00
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
buildInputs = [
|
|
|
|
boost
|
|
|
|
libGL
|
|
|
|
libGLU
|
|
|
|
SDL
|
|
|
|
SDL_gfx
|
|
|
|
SDL_image
|
|
|
|
SDL_mixer
|
|
|
|
yaml-cpp
|
|
|
|
openssl
|
|
|
|
zlib
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-08-22 20:05:09 +00:00
|
|
|
meta = {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Open source clone of UFO: Enemy Unknown";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "openxcom";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://openxcom.org";
|
2023-08-22 20:05:09 +00:00
|
|
|
license = lib.licenses.gpl3;
|
|
|
|
maintainers = with lib.maintainers; [ cpages ];
|
|
|
|
platforms = lib.platforms.linux;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|