freeciv: 2.6.0 -> 2.6.2
This commit is contained in:
parent
18b89e7abd
commit
c7c3f8780f
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, autoreconfHook, lua5_3, pkgconfig, python
|
{ stdenv, fetchFromGitHub, autoreconfHook, lua5_3, pkgconfig, python3
|
||||||
, zlib, bzip2, curl, lzma, gettext, libiconv
|
, zlib, bzip2, curl, lzma, gettext, libiconv
|
||||||
, sdlClient ? true, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx, freetype, fluidsynth
|
, sdlClient ? true, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx, freetype, fluidsynth
|
||||||
, gtkClient ? false, gtk3
|
, gtkClient ? false, gtk3
|
||||||
|
@ -12,19 +12,19 @@ let
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
in stdenv.mkDerivation rec {
|
||||||
pname = "freeciv";
|
pname = "freeciv";
|
||||||
version = "2.6.0";
|
version = "2.6.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "freeciv";
|
owner = "freeciv";
|
||||||
repo = "freeciv";
|
repo = "freeciv";
|
||||||
rev = "R${builtins.replaceStrings [ "." ] [ "_" ] version}";
|
rev = "R${builtins.replaceStrings [ "." ] [ "_" ] version}";
|
||||||
sha256 = "1b3q5k9wpv7z24svz01ybw8d8wlzkkdr6ia5hgp6cxk6vq67n67s";
|
sha256 = "023slffi06j52amrnmd8n12rmf778cngxx6xg4hbsgckj2nyfmg9";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
for f in {common,utility}/*.py; do
|
for f in {common,utility}/*.py; do
|
||||||
substituteInPlace $f \
|
substituteInPlace $f \
|
||||||
--replace '/usr/bin/env python' ${python.interpreter}
|
--replace '/usr/bin/env python3' ${python3.interpreter}
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue