mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
Merge pull request #245350 from cmm/update/freeciv
This commit is contained in:
commit
7cdce123f5
@ -10,13 +10,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "freeciv";
|
||||
version = "3.0.4";
|
||||
version = "3.0.8";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "freeciv";
|
||||
repo = "freeciv";
|
||||
rev = "R${lib.replaceStrings [ "." ] [ "_" ] version}";
|
||||
sha256 = "sha256-hhX+aM/NHdqOM0qSKSJyW2FAWTsyAHrjaNhxtP2vbVA=";
|
||||
hash = "sha256-6DWVou4d1oAOlhHb2A2vxR4Fy+1q7Xz9w9VK9rEzZxA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@ -24,6 +24,9 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace $f \
|
||||
--replace '/usr/bin/env python3' ${python3.interpreter}
|
||||
done
|
||||
for f in bootstrap/*.sh; do
|
||||
patchShebangs $f
|
||||
done
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config ]
|
||||
|
Loading…
Reference in New Issue
Block a user