freeciv: 3.0.4 -> 3.0.8
This commit is contained in:
parent
d0991cc3e5
commit
85c49c09da
1 changed files with 5 additions and 2 deletions
|
@ -10,13 +10,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "freeciv";
|
pname = "freeciv";
|
||||||
version = "3.0.4";
|
version = "3.0.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "freeciv";
|
owner = "freeciv";
|
||||||
repo = "freeciv";
|
repo = "freeciv";
|
||||||
rev = "R${lib.replaceStrings [ "." ] [ "_" ] version}";
|
rev = "R${lib.replaceStrings [ "." ] [ "_" ] version}";
|
||||||
sha256 = "sha256-hhX+aM/NHdqOM0qSKSJyW2FAWTsyAHrjaNhxtP2vbVA=";
|
hash = "sha256-6DWVou4d1oAOlhHb2A2vxR4Fy+1q7Xz9w9VK9rEzZxA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -24,6 +24,9 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace $f \
|
substituteInPlace $f \
|
||||||
--replace '/usr/bin/env python3' ${python3.interpreter}
|
--replace '/usr/bin/env python3' ${python3.interpreter}
|
||||||
done
|
done
|
||||||
|
for f in bootstrap/*.sh; do
|
||||||
|
patchShebangs $f
|
||||||
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkg-config ]
|
nativeBuildInputs = [ autoreconfHook pkg-config ]
|
||||||
|
|
Loading…
Reference in a new issue