openxcom: 1.0.0 -> 1.0.0.2018.01.28

Update to a recent git head since porting more compiler fixes without
affecting the gameplay/features would require writing custom patches.

The current maintainer (@cpages) ack'ed this change via IRC.
This commit is contained in:
Andreas Rammhold 2018-02-13 15:24:43 +01:00
parent 85d0eb712f
commit 77dba4865f
No known key found for this signature in database
GPG Key ID: E432E410B5E48C86

View File

@ -1,22 +1,18 @@
{stdenv, fetchurl, fetchpatch, cmake, mesa, zlib, openssl, libyamlcpp, boost {stdenv, fetchFromGitHub, fetchpatch, cmake, mesa, zlib, openssl, libyamlcpp, boost
, SDL, SDL_image, SDL_mixer, SDL_gfx }: , SDL, SDL_image, SDL_mixer, SDL_gfx }:
let version = "1.0.0"; in let version = "1.0.0.2018.01.28"; in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "openxcom-${version}"; name = "openxcom-${version}";
src = fetchurl { src = fetchFromGitHub {
url = http://openxcom.org/file/1726/; owner = "SupSuper";
sha256 = "1rmg10nklvf86ckbbssyvbg5cd4p7in5zq3mas2yyffdjk9i40v6"; repo = "OpenXcom";
name = "openxcom-${version}.tar.gz"; rev = "b148916268a6ce104c3b6b7eb4d9e0487cba5487";
sha256 = "1128ip3g4aw59f3f23mvlyhl8xckhwjjw9rd7wn7xv51hxdh191c";
}; };
buildInputs = [ cmake mesa zlib openssl libyamlcpp boost nativeBuildInputs = [ cmake ];
SDL SDL_image SDL_mixer SDL_gfx ]; buildInputs = [ SDL SDL_gfx SDL_image SDL_mixer boost libyamlcpp mesa openssl zlib ];
patches = [ (fetchpatch {
url = "https://github.com/SupSuper/OpenXcom/commit/49bec0851fc6e5365cac0f71b2c40a80ddf95e77.patch";
sha256 = "156fk8wz4qc0nmqq3zjb6kw84qirabads2azr6xvlgb3lcn327v2";
}) ];
meta = { meta = {
description = "Open source clone of UFO: Enemy Unknown"; description = "Open source clone of UFO: Enemy Unknown";