summary refs log tree commit diff
path: root/pkgs/games/openxcom/default.nix
blob: 657d3d9fa0651d26b4c8dde6bc3d7b66c6dc1d5c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{stdenv, fetchurl, cmake, mesa, zlib, openssl, libyamlcpp, boostHeaders
, SDL, SDL_image, SDL_mixer, SDL_gfx }:

let version = "1.0.0"; in
stdenv.mkDerivation {
  name = "openxcom-${version}";
  src = fetchurl {
    url = http://openxcom.org/wp-content/plugins/download-monitor/download.php?id=31;
    sha256 = "00pc6ncsjbvn6w8whpj0bk4hlh577wh40bkyv6lk0g5c901p732l";
    name = "openxcom-${version}.tar.gz";
  };

  buildInputs = [ cmake mesa zlib openssl libyamlcpp boostHeaders
    SDL SDL_image SDL_mixer SDL_gfx ];

  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.page ];
    platforms = stdenv.lib.platforms.linux;
    license = "GPLv3";
  };

}