nixpkgs/pkgs/games/lincity/ng.nix

36 lines
1,017 B
Nix
Raw Normal View History

2012-11-30 18:59:26 +00:00
{stdenv, fetchurl
, zlib, jam, pkgconfig, gettext, libxml2, libxslt, xproto, libX11, mesa, SDL
, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx, physfs
}:
let s = # Generated upstream information
rec {
baseName="lincity";
version="2.0";
name="lincity-2.0";
hash="1ykdf3y4d19jmb0q0jdcdawy3qv5p70k06gpcxgylrm2910rz3ij";
url="http://prdownload.berlios.de/lincity-ng/lincity-ng-2.0.tar.bz2";
sha256="1ykdf3y4d19jmb0q0jdcdawy3qv5p70k06gpcxgylrm2910rz3ij";
2012-11-30 18:59:26 +00:00
};
buildInputs = [zlib jam pkgconfig gettext libxml2 libxslt xproto libX11 mesa
SDL SDL_mixer SDL_image SDL_ttf SDL_gfx physfs];
in
stdenv.mkDerivation rec {
inherit (s) name version;
src = fetchurl {
inherit (s) url sha256;
};
inherit buildInputs;
buildPhase = "jam";
installPhase="jam install";
meta = {
documentation = ''City building game'';
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = [stdenv.lib.maintainers.raskin];
inherit (s) version;
};
}