nixpkgs/pkgs/games/openxcom/default.nix

39 lines
788 B
Nix
Raw Normal View History

2022-05-23 03:11:59 +02:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
, libGLU
, libGL
, zlib
, openssl
, libyamlcpp
, boost
, SDL
, SDL_image
, SDL_mixer
, SDL_gfx
}:
2014-06-14 11:58:00 +02:00
2022-05-23 03:11:59 +02:00
stdenv.mkDerivation rec {
2019-08-13 23:52:01 +02:00
pname = "openxcom";
2022-05-23 03:11:59 +02:00
version = "1.0.0.2019.10.18";
src = fetchFromGitHub {
owner = "OpenXcom";
repo = "OpenXcom";
rev = "f9853b2cb8c8f741ac58707487ef493416d890a3";
2022-05-23 03:11:59 +02:00
hash = "sha256-APv49ZT94oeM4KVKGtUdoQ1t8Ly8lsocr+FqXiRXbk0=";
2014-06-14 11:58:00 +02:00
};
nativeBuildInputs = [ cmake ];
2019-11-10 17:44:34 +01:00
buildInputs = [ SDL SDL_gfx SDL_image SDL_mixer boost libyamlcpp libGLU libGL openssl zlib ];
2022-05-23 03:11:59 +02:00
meta = with lib; {
2014-06-14 11:58:00 +02:00
description = "Open source clone of UFO: Enemy Unknown";
homepage = "https://openxcom.org";
2022-05-23 03:11:59 +02:00
maintainers = with maintainers; [ cpages ];
platforms = platforms.linux;
license = licenses.gpl3;
2014-06-14 11:58:00 +02:00
};
}