2018-07-21 01:44:44 +01:00
|
|
|
{stdenv, fetchFromGitHub, cmake, libGLU_combined, zlib, openssl, libyamlcpp, boost
|
2014-06-14 10:58:00 +01:00
|
|
|
, SDL, SDL_image, SDL_mixer, SDL_gfx }:
|
|
|
|
|
2018-10-12 23:03:44 +01:00
|
|
|
let version = "1.0.0.2018.10.08"; in
|
2014-06-14 10:58:00 +01:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "openxcom-${version}";
|
2018-02-13 14:24:43 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SupSuper";
|
|
|
|
repo = "OpenXcom";
|
2018-10-12 23:03:44 +01:00
|
|
|
rev = "13049d617fe762b91893faaf7c14ddefa49e2f1d";
|
|
|
|
sha256 = "0vpcfk3g1bnwwmrln14jkj2wvw2z8igxw2mdb7c3y66466wm93ig";
|
2014-06-14 10:58:00 +01:00
|
|
|
};
|
|
|
|
|
2018-02-13 14:24:43 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2018-02-24 13:12:44 +00:00
|
|
|
buildInputs = [ SDL SDL_gfx SDL_image SDL_mixer boost libyamlcpp libGLU_combined openssl zlib ];
|
2017-01-19 21:57:29 +00:00
|
|
|
|
2014-06-14 10:58:00 +01:00
|
|
|
meta = {
|
|
|
|
description = "Open source clone of UFO: Enemy Unknown";
|
2018-06-23 12:34:55 +01:00
|
|
|
homepage = https://openxcom.org;
|
2014-06-14 10:58:00 +01:00
|
|
|
repositories.git = https://github.com/SupSuper/OpenXcom.git;
|
2017-01-20 11:23:57 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.cpages ];
|
2014-06-14 10:58:00 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
2014-06-14 10:58:00 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|