From 4de18778a356807feb756822e60a2d38f7e0e7c0 Mon Sep 17 00:00:00 2001 From: Ricardo Ardissone Date: Wed, 23 Oct 2019 19:43:40 -0300 Subject: [PATCH] hedgewars: 1.0.0-beta2 -> 1.0.0 --- pkgs/games/hedgewars/default.nix | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/pkgs/games/hedgewars/default.nix b/pkgs/games/hedgewars/default.nix index bac7bd345f94..dffeb2ac556d 100644 --- a/pkgs/games/hedgewars/default.nix +++ b/pkgs/games/hedgewars/default.nix @@ -1,5 +1,5 @@ { mkDerivation, SDL2_image, SDL2_ttf, SDL2_net, fpc, ghcWithPackages, ffmpeg, freeglut -, lib, fetchhg, cmake, pkgconfig, lua5_1, SDL2, SDL2_mixer +, lib, fetchurl, cmake, pkgconfig, lua5_1, SDL2, SDL2_mixer , zlib, libpng, libGL, libGLU, physfs , qtbase, qttools , withServer ? true @@ -14,14 +14,11 @@ let in mkDerivation rec { pname = "hedgewars"; - version = "1.0.0-beta2"; + version = "1.0.0"; - # it's crazy slow to fetch the whole repo but the beta versions are not - # released as tarballs - src = fetchhg { - url = "https://hg.hedgewars.org/hedgewars/"; - rev = "dff37ac61dcf"; - sha256 = "1dsq6wfv3d7jfnr068b7ixpnqp0h6mj7zgby6h1viwblgbirri78"; + src = fetchurl { + url = "https://www.hedgewars.org/download/releases/hedgewars-src-${version}.tar.bz2"; + sha256 = "0nqm9w02m0xkndlsj6ys3wr0ik8zc14zgilq7k6fwjrf3zk385i1"; }; nativeBuildInputs = [ cmake pkgconfig qttools ];