freeciv: update to 2.4.0
This commit is contained in:
parent
e8773c4139
commit
655ba1e418
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, zlib, bzip2, pkgconfig
|
{ stdenv, fetchurl, zlib, bzip2, pkgconfig, curl, lzma, gettext
|
||||||
, sdlClient ? true, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx, freetype
|
, sdlClient ? true, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx, freetype
|
||||||
, gtkClient ? false, gtk
|
, gtkClient ? false, gtk
|
||||||
, server ? true, readline }:
|
, server ? true, readline }:
|
||||||
@ -8,16 +8,16 @@ let
|
|||||||
client = sdlClient || gtkClient;
|
client = sdlClient || gtkClient;
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "freeciv-2.3.1";
|
name = "freeciv-2.4.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/freeciv/${name}.tar.bz2";
|
url = "mirror://sourceforge/freeciv/${name}.tar.bz2";
|
||||||
sha256 = "1n3ak0y9hj9kha0r3cdbi8zb47vrgal1jsbblamqgwwwgzy8cri3";
|
sha256 = "1bc01pyihsrby6w95n49gi90ggp40dyxsy4kmlmwcakxfxprwakv";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ zlib bzip2 ]
|
buildInputs = [ zlib bzip2 curl lzma gettext ]
|
||||||
++ optionals sdlClient [ SDL SDL_mixer SDL_image SDL_ttf SDL_gfx freetype ]
|
++ optionals sdlClient [ SDL SDL_mixer SDL_image SDL_ttf SDL_gfx freetype ]
|
||||||
++ optional gtkClient gtk
|
++ optional gtkClient gtk
|
||||||
++ optional server readline;
|
++ optional server readline;
|
||||||
|
Loading…
Reference in New Issue
Block a user