* Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done svn path=/nixpkgs/trunk/; revision=9198
This commit is contained in:
@@ -28,7 +28,7 @@ stdenv.mkDerivation {
|
||||
name = "corefonts-1";
|
||||
|
||||
exes = map ({name, sha256}: fetchurl {
|
||||
url = "http://surfnet.dl.sourceforge.net/sourceforge/corefonts/${name}32.exe";
|
||||
url = "mirror://sourceforge/corefonts/${name}32.exe";
|
||||
inherit sha256;
|
||||
}) fonts;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ stdenv.mkDerivation {
|
||||
name = "docbook-xsl-1.72.0";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://switch.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-1.72.0.tar.bz2;
|
||||
url = mirror://sourceforge/docbook/docbook-xsl-1.72.0.tar.bz2;
|
||||
sha256 = "1cnrfgqz8pc9wnlgqjch2338ad7jki6d4h6b2fhaxn1a2201df5k";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ stdenv.mkDerivation {
|
||||
name = "docbook5-xsl-1.73.1";
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://kent.dl.sourceforge.net/sourceforge/docbook/docbook-xsl-ns-1.73.1.tar.bz2;
|
||||
url = mirror://sourceforge/docbook/docbook-xsl-ns-1.73.1.tar.bz2;
|
||||
sha256 = "105irc94p04j0fj5vf5fschyxv9azkh2bsa69a796jax5ngpbahn";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user