* mirror://debian: stripped the /pool part; there are other Debian

files that can be useful.
* mirror://ubuntu.

svn path=/nixpkgs/trunk/; revision=11097
This commit is contained in:
Eelco Dolstra 2008-03-13 13:31:39 +00:00
parent fdf6a69b3a
commit d8745d57b2
3 changed files with 17 additions and 9 deletions

View File

@ -113,12 +113,20 @@ rec {
http://ftp.funet.fi/pub/CPAN/ http://ftp.funet.fi/pub/CPAN/
]; ];
# Debian # Debian.
debian = [ debian = [
ftp://ftp.de.debian.org/debian/pool/ ftp://ftp.de.debian.org/debian/
ftp://ftp.nl.debian.org/debian/pool/ ftp://ftp.nl.debian.org/debian/
ftp://ftp.ru.debian.org/debian/pool/ ftp://ftp.ru.debian.org/debian/
ftp://ftp.debian.org/debian/pool/ ftp://ftp.debian.org/debian/
];
# Ubuntu.
ubuntu = [
http://nl.archive.ubuntu.com/ubuntu/
http://de.archive.ubuntu.com/ubuntu/
http://archive.ubuntu.com/ubuntu/
]; ];
} }

View File

@ -1,11 +1,11 @@
args: with args; with debPackage; args: with args; with debPackage;
debBuild ({ debBuild ({
src = fetchurl { src = fetchurl {
url = mirror://debian/main/u/unifont/unifont_1.0.orig.tar.gz; url = mirror://debian/pool/main/u/unifont/unifont_1.0.orig.tar.gz;
sha256 = "0bg8d6c7w51n5409g0n7vqk3aagbzb5aird5r02vw0yz7w6i729l"; sha256 = "0bg8d6c7w51n5409g0n7vqk3aagbzb5aird5r02vw0yz7w6i729l";
}; };
patch = fetchurl { patch = fetchurl {
url = mirror://debian/main/u/unifont/unifont_1.0-4.diff.gz; url = mirror://debian/pool/main/u/unifont/unifont_1.0-4.diff.gz;
sha256 = "08j0rrf7hc05izchmsx9f9hg7vnyqdvbmba4b9jl8wfhvd1b09fd"; sha256 = "08j0rrf7hc05izchmsx9f9hg7vnyqdvbmba4b9jl8wfhvd1b09fd";
}; };
name = "unifont-1.0-4"; name = "unifont-1.0-4";

View File

@ -1,10 +1,10 @@
args: with args; with debPackage; args: with args; with debPackage;
debBuild ({ debBuild ({
src = fetchurl { src = fetchurl {
url = mirror://debian/(abort "Specify URL"); url = mirror://debian/pool/(abort "Specify URL");
}; };
patch = fetchurl { patch = fetchurl {
url = mirror://debian/(abort "Specify URL"); url = mirror://debian/pool/(abort "Specify URL");
}; };
name = "${abort "Specify name"}"; name = "${abort "Specify name"}";
buildInputs = []; buildInputs = [];