summary refs log blame commit diff
path: root/pkgs/games/openxcom/default.nix
blob: 204663e1448c7f79e6271b409e2cb9ec4a60aad8 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                





                                       

                                                                    


                                        
                                                          





                                                                
                                                    
                                           
                                       


    
{stdenv, fetchurl, cmake, mesa, zlib, openssl, libyamlcpp, boost
, SDL, SDL_image, SDL_mixer, SDL_gfx }:

let version = "1.0.0"; in
stdenv.mkDerivation {
  name = "openxcom-${version}";
  src = fetchurl {
    url = http://openxcom.org/file/1726/;
    sha256 = "1rmg10nklvf86ckbbssyvbg5cd4p7in5zq3mas2yyffdjk9i40v6";
    name = "openxcom-${version}.tar.gz";
  };

  buildInputs = [ cmake mesa zlib openssl libyamlcpp boost
    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.cpages ];
    platforms = stdenv.lib.platforms.linux;
    license = stdenv.lib.licenses.gpl3;
  };

}