From fb6403aeaac2392b4de0d5508d161bd22dcff0e6 Mon Sep 17 00:00:00 2001 From: Enrico Fasoli Date: Sat, 26 Sep 2015 20:49:54 +0200 Subject: [PATCH] ogre: replace broken hg clone url with http url (to speed up download) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Old package expression had two problems: * source download link was broken * when working, it downloaded almost 400 MB of data because it cloned the entire mercurial repo, via http it's only about 140 MB. [Bjørn: extend commit message] --- pkgs/development/libraries/ogre/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/pkgs/development/libraries/ogre/default.nix b/pkgs/development/libraries/ogre/default.nix index 93803b61fb14..51782449a252 100644 --- a/pkgs/development/libraries/ogre/default.nix +++ b/pkgs/development/libraries/ogre/default.nix @@ -1,4 +1,4 @@ -{ fetchhg, stdenv +{ fetchurl, stdenv , cmake, mesa , freetype, freeimage, zziplib, randrproto, libXrandr , libXaw, freeglut, libXt, libpng, boost, ois @@ -10,10 +10,9 @@ stdenv.mkDerivation { name = "ogre-1.9.0"; - src = fetchhg { - url = "https://bitbucket.org/sinbad/ogre/src/"; - rev = "v1-9-0"; - sha256 = "06hnf4c2kpycm3mglwdyywvj931k8ym808c15xighpyd8h9j4xdi"; + src = fetchurl { + url = "https://bitbucket.org/sinbad/ogre/get/v1-9-0.tar.gz"; + sha256 = "0p8gyn293qn3iyiy1smfmjd9zpnjb8h2zgvff8778fwh0ylbmlpa"; }; cmakeFlags = [ "-DOGRE_INSTALL_SAMPLES=yes" ]