depot/third_party/nixpkgs/pkgs/games/openxcom/default.nix
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

54 lines
859 B
Nix

{ boost
, cmake
, fetchFromGitHub
, lib
, libGLU
, libGL
, openssl
, pkg-config
, SDL
, SDL_image
, SDL_mixer
, SDL_gfx
, stdenv
, yaml-cpp
, zlib
}:
stdenv.mkDerivation {
pname = "openxcom";
version = "1.0.0.2023.08.12";
src = fetchFromGitHub {
owner = "OpenXcom";
repo = "OpenXcom";
rev = "bd632cc8569a57fdc3b68ce53f6ea850422ec5ac";
hash = "sha256-ouYZ4rAEluqeP+ZUrbEZwCpXCw0cZLWsf1GbIE3jaTc=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
boost
libGL
libGLU
SDL
SDL_gfx
SDL_image
SDL_mixer
yaml-cpp
openssl
zlib
];
meta = {
description = "Open source clone of UFO: Enemy Unknown";
homepage = "https://openxcom.org";
license = lib.licenses.gpl3;
maintainers = with lib.maintainers; [ cpages ];
platforms = lib.platforms.linux;
};
}