nixpkgs/pkgs/games/openxcom/default.nix

28 lines
878 B
Nix
Raw Normal View History

{stdenv, fetchFromGitHub, cmake, libGLU_combined, zlib, openssl, libyamlcpp, boost
2014-06-14 09:58:00 +00:00
, SDL, SDL_image, SDL_mixer, SDL_gfx }:
let version = "1.0.0.2019.10.18"; in
2014-06-14 09:58:00 +00:00
stdenv.mkDerivation {
2019-08-13 21:52:01 +00:00
pname = "openxcom";
inherit version;
src = fetchFromGitHub {
owner = "OpenXcom";
repo = "OpenXcom";
rev = "f9853b2cb8c8f741ac58707487ef493416d890a3";
sha256 = "0kbfawj5wsp1mwfcm5mwpkq6s3d13pailjm5w268gqpxjksziyq0";
2014-06-14 09:58:00 +00:00
};
nativeBuildInputs = [ cmake ];
buildInputs = [ SDL SDL_gfx SDL_image SDL_mixer boost libyamlcpp libGLU_combined openssl zlib ];
2014-06-14 09:58:00 +00:00
meta = {
description = "Open source clone of UFO: Enemy Unknown";
2018-06-23 11:34:55 +00:00
homepage = https://openxcom.org;
2014-06-14 09:58:00 +00:00
repositories.git = https://github.com/SupSuper/OpenXcom.git;
maintainers = [ stdenv.lib.maintainers.cpages ];
2014-06-14 09:58:00 +00:00
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.gpl3;
2014-06-14 09:58:00 +00:00
};
}