3
0
Fork 0
forked from mirrors/nixpkgs

Use mirror:// URIs for ftp.debian.org

Provide a more robust experience for users with horrible network
hardware (me).
This commit is contained in:
Tobias Geerinckx-Rice 2015-05-21 23:52:24 +02:00
parent 188a067d8e
commit 5d5044b2ec
7 changed files with 9 additions and 9 deletions

View file

@ -3,7 +3,7 @@ stdenv.mkDerivation {
name = "xmove-2.0b2"; name = "xmove-2.0b2";
src = fetchurl { src = fetchurl {
url = http://ftp.debian.org/debian/pool/main/x/xmove/xmove_2.0beta2.orig.tar.gz; url = mirror://debian/pool/main/x/xmove/xmove_2.0beta2.orig.tar.gz;
sha256 = "0q310k3bi39vdk0kqqvsahnb1k6lx9hlx80iyxnkq59l6jxnhyhf"; sha256 = "0q310k3bi39vdk0kqqvsahnb1k6lx9hlx80iyxnkq59l6jxnhyhf";
}; };

View file

@ -2,14 +2,14 @@
let let
patch = fetchurl { patch = fetchurl {
url = http://ftp.debian.org/debian/pool/main/libr/libresample/libresample_0.1.3-3.diff.gz; url = mirror://debian/pool/main/libr/libresample/libresample_0.1.3-3.diff.gz;
sha256 = "063w8rqxw87fc89gas47vk0ll7xl8cy7d8g70gm1l62bqkkajklx"; sha256 = "063w8rqxw87fc89gas47vk0ll7xl8cy7d8g70gm1l62bqkkajklx";
}; };
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "libresample-0.1.3"; name = "libresample-0.1.3";
src = fetchurl { src = fetchurl {
url = http://ftp.debian.org/debian/pool/main/libr/libresample/libresample_0.1.3.orig.tar.gz; url = mirror://debian/pool/main/libr/libresample/libresample_0.1.3.orig.tar.gz;
sha256 = "05a8mmh1bw5afqx0kfdqzmph4x2npcs4idx0p0v6q95lwf22l8i0"; sha256 = "05a8mmh1bw5afqx0kfdqzmph4x2npcs4idx0p0v6q95lwf22l8i0";
}; };
patches = [ patch ]; patches = [ patch ];

View file

@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
name = "ltrace-0.7.3"; name = "ltrace-0.7.3";
src = fetchurl { src = fetchurl {
url = ftp://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_0.7.3.orig.tar.bz2; url = mirror://debian/pool/main/l/ltrace/ltrace_0.7.3.orig.tar.bz2;
sha256 = "00wmbdghqbz6x95m1mcdd3wd46l6hgcr4wggdp049dbifh3qqvqf"; sha256 = "00wmbdghqbz6x95m1mcdd3wd46l6hgcr4wggdp049dbifh3qqvqf";
}; };

View file

@ -4,7 +4,7 @@ stdenv.mkDerivation {
name = "cramfsswap-1.4.1"; name = "cramfsswap-1.4.1";
builder = ./builder.sh; builder = ./builder.sh;
src = fetchurl { src = fetchurl {
url = http://ftp.debian.org/debian/pool/main/c/cramfsswap/cramfsswap_1.4.1.tar.gz; url = mirror://debian/pool/main/c/cramfsswap/cramfsswap_1.4.1.tar.gz;
sha256 = "0c6lbx1inkbcvvhh3y6fvfaq3w7d1zv7psgpjs5f3zjk1jysi9qd"; sha256 = "0c6lbx1inkbcvvhh3y6fvfaq3w7d1zv7psgpjs5f3zjk1jysi9qd";
}; };

View file

@ -11,7 +11,7 @@ let
in in
rec { rec {
src = fetchurl { src = fetchurl {
url = "ftp://ftp.debian.org/debian/pool/main/libd/libdecodeqr/libdecodeqr_${version}.orig.tar.gz"; url = "mirror://debian/pool/main/libd/libdecodeqr/libdecodeqr_${version}.orig.tar.gz";
sha256 = "1kmljwx69h7zq6zlp2j19bbpz11px45z1abw03acrxjyzz5f1f13"; sha256 = "1kmljwx69h7zq6zlp2j19bbpz11px45z1abw03acrxjyzz5f1f13";
}; };

View file

@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
version = "1.01b"; version = "1.01b";
src = fetchurl { src = fetchurl {
url = "http://ftp.debian.org/debian/pool/main/m/mmv/mmv_${version}.orig.tar.gz"; url = "mirror://debian/pool/main/m/mmv/mmv_${version}.orig.tar.gz";
sha256 = "0399c027ea1e51fd607266c1e33573866d4db89f64a74be8b4a1d2d1ff1fdeef"; sha256 = "0399c027ea1e51fd607266c1e33573866d4db89f64a74be8b4a1d2d1ff1fdeef";
}; };
@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
# Use Debian patched version, as upstream is no longer maintained and it # Use Debian patched version, as upstream is no longer maintained and it
# contains a _lot_ of fixes. # contains a _lot_ of fixes.
(fetchurl { (fetchurl {
url = "http://ftp.debian.org/debian/pool/main/m/mmv/mmv_${version}-15.diff.gz"; url = "mirror://debian/pool/main/m/mmv/mmv_${version}-15.diff.gz";
sha256 = "9ad3e3d47510f816b4a18bae04ea75913588eec92248182f85dd09bc5ad2df13"; sha256 = "9ad3e3d47510f816b4a18bae04ea75913588eec92248182f85dd09bc5ad2df13";
}) })
]; ];

View file

@ -6,7 +6,7 @@ stdenv.mkDerivation {
name = "ssmtp-2.64"; name = "ssmtp-2.64";
src = fetchurl { src = fetchurl {
url = http://ftp.debian.org/debian/pool/main/s/ssmtp/ssmtp_2.64.orig.tar.bz2; url = mirror://debian/pool/main/s/ssmtp/ssmtp_2.64.orig.tar.bz2;
sha256 = "0dps8s87ag4g3jr6dk88hs9zl46h3790marc5c2qw7l71k4pvhr2"; sha256 = "0dps8s87ag4g3jr6dk88hs9zl46h3790marc5c2qw7l71k4pvhr2";
}; };