mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
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
|
||||
, sdlClient ? true, SDL, SDL_mixer, SDL_image, SDL_ttf, SDL_gfx, freetype, fluidsynth
|
||||
, gtkClient ? false, gtk3
|
||||
@ -12,19 +12,19 @@ let
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "freeciv";
|
||||
version = "2.6.0";
|
||||
version = "2.6.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "freeciv";
|
||||
repo = "freeciv";
|
||||
rev = "R${builtins.replaceStrings [ "." ] [ "_" ] version}";
|
||||
sha256 = "1b3q5k9wpv7z24svz01ybw8d8wlzkkdr6ia5hgp6cxk6vq67n67s";
|
||||
sha256 = "023slffi06j52amrnmd8n12rmf778cngxx6xg4hbsgckj2nyfmg9";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
for f in {common,utility}/*.py; do
|
||||
substituteInPlace $f \
|
||||
--replace '/usr/bin/env python' ${python.interpreter}
|
||||
--replace '/usr/bin/env python3' ${python3.interpreter}
|
||||
done
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user