1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 18:12:46 +00:00
nixpkgs/pkgs/games/openxcom/default.nix

27 lines
880 B
Nix
Raw Normal View History

{stdenv, fetchFromGitHub, fetchpatch, cmake, libGLU_combined, zlib, openssl, libyamlcpp, boost
2014-06-14 10:58:00 +01:00
, SDL, SDL_image, SDL_mixer, SDL_gfx }:
let version = "1.0.0.2018.01.28"; in
2014-06-14 10:58:00 +01:00
stdenv.mkDerivation {
name = "openxcom-${version}";
src = fetchFromGitHub {
owner = "SupSuper";
repo = "OpenXcom";
rev = "b148916268a6ce104c3b6b7eb4d9e0487cba5487";
sha256 = "1128ip3g4aw59f3f23mvlyhl8xckhwjjw9rd7wn7xv51hxdh191c";
2014-06-14 10:58:00 +01:00
};
nativeBuildInputs = [ cmake ];
buildInputs = [ SDL SDL_gfx SDL_image SDL_mixer boost libyamlcpp libGLU_combined openssl zlib ];
2014-06-14 10:58:00 +01:00
meta = {
description = "Open source clone of UFO: Enemy Unknown";
homepage = http://openxcom.org;
repositories.git = https://github.com/SupSuper/OpenXcom.git;
maintainers = [ stdenv.lib.maintainers.cpages ];
2014-06-14 10:58:00 +01:00
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.gpl3;
2014-06-14 10:58:00 +01:00
};
}