nixpkgs/pkgs/games/openxcom/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
813 B
Nix
Raw Normal View History

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