From aa85b804595660a541e727632f0cdc86b0779fe6 Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Sun, 14 Jul 2013 02:35:26 +0300 Subject: [PATCH] Change package urls to use mirror://sourceforge --- pkgs/applications/editors/emacs-modes/bbdb/default.nix | 1 + pkgs/os-specific/linux/lxc/default.nix | 2 +- pkgs/tools/networking/aria/default.nix | 2 +- pkgs/tools/security/bmrsa/11.nix | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/editors/emacs-modes/bbdb/default.nix b/pkgs/applications/editors/emacs-modes/bbdb/default.nix index ec7a3e8e6002..da92c38d0780 100644 --- a/pkgs/applications/editors/emacs-modes/bbdb/default.nix +++ b/pkgs/applications/editors/emacs-modes/bbdb/default.nix @@ -4,6 +4,7 @@ stdenv.mkDerivation { name = "bbdb-2.35"; src = fetchurl { + # not using mirror:// because it produces a different file url = http://bbdb.sourceforge.net/bbdb-2.35.tar.gz; sha256 = "3fb1316e2ed74d47ca61187fada550e58797467bd9e8ad67343ed16da769f916"; }; diff --git a/pkgs/os-specific/linux/lxc/default.nix b/pkgs/os-specific/linux/lxc/default.nix index c2a9deaa11f2..c1dec8b926a3 100644 --- a/pkgs/os-specific/linux/lxc/default.nix +++ b/pkgs/os-specific/linux/lxc/default.nix @@ -4,7 +4,7 @@ stdenv.mkDerivation rec { name = "lxc-0.9.0"; src = fetchurl { - url = "http://lxc.sf.net/download/lxc/${name}.tar.gz"; + url = "mirror://sourceforge/lxc/${name}.tar.gz"; sha256 = "0821clxymkgp71n720xj5ngs22s2v8jks68f5j4vypycwvm6f5qy"; }; diff --git a/pkgs/tools/networking/aria/default.nix b/pkgs/tools/networking/aria/default.nix index 120e32ab29cc..4f58463ecf93 100644 --- a/pkgs/tools/networking/aria/default.nix +++ b/pkgs/tools/networking/aria/default.nix @@ -4,7 +4,7 @@ let version="0.14.0"; in rec { src = /* Here a fetchurl expression goes */ fetchurl { - url = "http://downloads.sourceforge.net/aria2/aria2c-${version}.tar.bz2"; + url = "mirror://sourceforge/aria2/aria2c-${version}.tar.bz2"; sha256 = "0d6vpy7f4228byahsg4dlhalfkbscx941klhdlxd0y5c3mxxwkfr"; }; diff --git a/pkgs/tools/security/bmrsa/11.nix b/pkgs/tools/security/bmrsa/11.nix index 3200d27c004b..5d6eaf551734 100644 --- a/pkgs/tools/security/bmrsa/11.nix +++ b/pkgs/tools/security/bmrsa/11.nix @@ -11,7 +11,7 @@ let in rec { src = fetchurl { - url = "http://prdownloads.sourceforge.net/sourceforge/bmrsa/bmrsa${version}.zip"; + url = "mirror://sourceforge/bmrsa/bmrsa${version}.zip"; sha256 = "0ksd9xkvm9lkvj4yl5sl0zmydp1wn3xhc55b28gj70gi4k75kcl4"; };