summary refs log tree commit diff
path: root/pkgs/games/wesnoth
diff options
context:
space:
mode:
authorChristian Kampka <christian@kampka.net>2020-05-24 18:15:15 +0200
committerMatthieu Coudron <mattator@gmail.com>2020-06-17 16:28:18 +0200
commiteb296c501011675953ef1a93445359fb6d6dffed (patch)
treee669e683627279a7bb5a04d16e5c671cb02974aa /pkgs/games/wesnoth
parent98cac435f30251c0c8014440376759b67b3703ba (diff)
downloadnixpkgs-eb296c501011675953ef1a93445359fb6d6dffed.tar
nixpkgs-eb296c501011675953ef1a93445359fb6d6dffed.tar.gz
nixpkgs-eb296c501011675953ef1a93445359fb6d6dffed.tar.bz2
nixpkgs-eb296c501011675953ef1a93445359fb6d6dffed.tar.lz
nixpkgs-eb296c501011675953ef1a93445359fb6d6dffed.tar.xz
nixpkgs-eb296c501011675953ef1a93445359fb6d6dffed.tar.zst
nixpkgs-eb296c501011675953ef1a93445359fb6d6dffed.zip
wesnoth: 1.14.11 -> 1.14.12
Diffstat (limited to 'pkgs/games/wesnoth')
-rw-r--r--pkgs/games/wesnoth/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/games/wesnoth/default.nix b/pkgs/games/wesnoth/default.nix
index 20ec0a978f5..2eb45ded7e2 100644
--- a/pkgs/games/wesnoth/default.nix
+++ b/pkgs/games/wesnoth/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, cmake, pkgconfig, SDL2, SDL2_image, SDL2_mixer, SDL2_net, SDL2_ttf
+{ stdenv, fetchFromGitHub, cmake, pkgconfig, SDL2, SDL2_image, SDL2_mixer, SDL2_net, SDL2_ttf
 , pango, gettext, boost, libvorbis, fribidi, dbus, libpng, pcre, openssl, icu
 , Cocoa, Foundation
 , enableTools ? false
@@ -6,11 +6,13 @@
 
 stdenv.mkDerivation rec {
   pname = "wesnoth";
-  version = "1.14.11";
+  version = "1.14.12";
 
-  src = fetchurl {
-    url = "mirror://sourceforge/sourceforge/${pname}/${pname}-${version}.tar.bz2";
-    sha256 = "1i8mz6gw3qar09bscczhki0g4scj8pl58v85rp0g55r4bcq41l5v";
+  src = fetchFromGitHub {
+    rev = version;
+    owner = "wesnoth";
+    repo = "wesnoth";
+    sha256 = "0xpypy0yfjmjp3apvlh51nm19p1cjhjw2p547kvmrckm7y6naaw8";
   };
 
   nativeBuildInputs = [ cmake pkgconfig ];
@@ -33,7 +35,7 @@ stdenv.mkDerivation rec {
       adventures.
     '';
 
-    homepage = "http://www.wesnoth.org/";
+    homepage = "https://www.wesnoth.org/";
     license = licenses.gpl2;
     maintainers = with maintainers; [ abbradar ];
     platforms = platforms.unix;