nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 boost,
3 cmake,
4 fetchFromGitHub,
5 lib,
6 libGLU,
7 libGL,
8 openssl,
9 pkg-config,
10 SDL_compat,
11 SDL_image,
12 SDL_mixer,
13 SDL_gfx,
14 stdenv,
15 yaml-cpp,
16 zlib,
17}:
18
19stdenv.mkDerivation {
20 pname = "openxcom";
21 version = "1.0.0-unstable-2025-09-28";
22
23 src = fetchFromGitHub {
24 owner = "OpenXcom";
25 repo = "OpenXcom";
26 rev = "0f262a10ff447d09571375cef6e646f70868dae2";
27 hash = "sha256-q36Lx+PRFKhL87hZr2INcjlxNUX5Y5k8YkA9WDEjagQ=";
28 };
29
30 nativeBuildInputs = [
31 cmake
32 pkg-config
33 ];
34
35 buildInputs = [
36 boost
37 libGL
38 libGLU
39 SDL_compat
40 SDL_gfx
41 SDL_image
42 SDL_mixer
43 yaml-cpp
44 openssl
45 zlib
46 ];
47
48 meta = {
49 description = "Open source clone of UFO: Enemy Unknown";
50 mainProgram = "openxcom";
51 homepage = "https://openxcom.org";
52 license = lib.licenses.gpl3;
53 maintainers = [ ];
54 platforms = lib.platforms.linux;
55 };
56}