nixpkgs/pkgs/games/lincity/ng.nix

42 lines
1.0 KiB
Nix
Raw Normal View History

2017-08-29 13:23:52 +01:00
{stdenv, fetchgit
2012-11-30 18:59:26 +00:00
, zlib, jam, pkgconfig, gettext, libxml2, libxslt, xproto, libX11, mesa, SDL
2017-08-29 13:23:52 +01:00
, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx, physfs, autoconf, automake, libtool
2012-11-30 18:59:26 +00:00
}:
stdenv.mkDerivation rec {
2017-08-29 13:23:52 +01:00
name = "lincity-ng-${version}";
version = "2.9beta.20170715";
src = fetchgit {
url = "https://github.com/lincity-ng/lincity-ng";
rev = "0c19714b811225238f310633e59f428934185e6b";
sha256 = "1gaj9fq97zmb0jsdw4rzrw34pimkmkwbfqps0glpqij4w3srz5f3";
2012-11-30 18:59:26 +00:00
};
hardeningDisable = [ "format" ];
2016-02-12 15:59:08 +00:00
2017-08-29 13:23:52 +01:00
nativeBuildInputs = [
jam autoconf automake libtool pkgconfig
];
buildInputs = [
zlib gettext libxml2 libxslt xproto libX11 mesa SDL SDL_mixer SDL_image
SDL_ttf SDL_gfx physfs
];
preConfigure = ''
./autogen.sh
'';
2012-11-30 18:59:26 +00:00
2017-08-29 13:23:52 +01:00
installPhase = ''
touch CREDITS
AR='ar r' jam install
'';
2012-11-30 18:59:26 +00:00
meta = {
documentation = ''City building game'';
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = [stdenv.lib.maintainers.raskin];
};
}