Various fixes to lessen reliance on nix.cs.uu.nl for tarballs; version bumps for unavailabel tarballs; ATI driver builds now

svn path=/nixpkgs/trunk/; revision=9952
This commit is contained in:
Michael Raskin 2007-12-18 22:56:12 +00:00
parent 1b3aa6482d
commit 4290be9a99
9 changed files with 27 additions and 15 deletions

View File

@ -4,7 +4,8 @@ stdenv.mkDerivation {
name = "xterm-208";
src = fetchurl {
url = ftp://invisible-island.net/xterm/xterm.tar.gz;
md5 = "a062d0b398918015d07c31ecdcc5111a";
md5 = "f7b04a66dc401dc22f5ddb7f345be229"; /* was a062d0b398918015d07c31ecdcc5111a */
};
buildInputs = [libXaw xproto libXt libX11 libSM libICE ncurses];
}

View File

@ -4,7 +4,10 @@ stdenv.mkDerivation ({
name = "db4-4.4.20";
builder = ./builder.sh;
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/db-4.4.20.NC.tar.gz;
urls = [
http://download.oracle.com/berkeley-db/db-4.4.20.NC.tar.gz
http://nix.cs.uu.nl/dist/tarballs/db-4.4.20.NC.tar.gz
];
md5 = "afd9243ea353bbaa04421488d3b37900";
};
configureFlags = [

View File

@ -5,7 +5,10 @@ assert gettext != null;
stdenv.mkDerivation {
name = "popt-1.7";
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/popt-1.7.tar.gz;
urls = [
ftp://distro.ibiblio.org/pub/linux/distributions/pdaxrom/src/popt-1.7.tar.gz
http://nix.cs.uu.nl/dist/tarballs/popt-1.7.tar.gz
];
md5 = "5988e7aeb0ae4dac8d83561265984cc9";
};
buildInputs = [gettext];

View File

@ -1,11 +1,12 @@
{stdenv, fetchurl, x11, libXaw}:
{stdenv, fetchurl, x11, libXaw, libXpm}:
stdenv.mkDerivation {
name = "t1lib-5.1.0";
src = fetchurl {
url = ftp://ftp.nluug.nl/pub/metalab/libs/graphics/t1lib-5.1.0.tar.gz;
md5 = "a05bed4aa63637052e60690ccde70421";
url = ftp://ftp.nluug.nl/pub/metalab/libs/graphics/t1lib-5.1.1.tar.gz;
sha256 = "0r1wb94kjd8jwym9na2k2snikizrnyc4cf4mf92v89r4yy0apph8";
};
buildInputs = [x11 libXaw];
buildInputs = [x11 libXaw libXpm];
buildFlags = "without_doc";
}

View File

@ -5,7 +5,9 @@ assert m4 != null;
stdenv.mkDerivation {
name = "bison-1.875";
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/bison-1.875.tar.bz2;
urls = [ http://nix.cs.uu.nl/dist/tarballs/bison-1.875.tar.bz2
ftp://ftp.gnu.org/pub/gnu/bison/bison-1.875.tar.bz2
];
md5 = "b7f8027b249ebd4dd0cc948943a71af0";
};
buildInputs = [m4];

View File

@ -5,7 +5,7 @@ assert yacc != null;
stdenv.mkDerivation {
name = "flex-2.5.4a";
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/flex-2.5.4a.tar.gz;
url = mirror://sourceforge/flex/flex-2.5.4a.tar.gz;
md5 = "bd8753d0b22e1f4ec87a553a73021adf";
};
buildInputs = [yacc];

View File

@ -1986,8 +1986,8 @@ rec {
url = http://mirror.switch.ch/ftp/mirror/X11/pub/X11R7.3/src/everything/xf86-video-ati-6.6.3.tar.bz2;
sha256 = "102p6nz1jvd3pgbl83a4zi99smydqr6il61r33l0lqmi3yg452nh";
};
buildInputs = [pkgconfig fontsproto libdrm randrproto renderproto videoproto xextproto xf86driproto xf86miscproto xineramaproto xorgserver xproto ];
}) // {inherit fontsproto libdrm randrproto renderproto videoproto xextproto xf86driproto xf86miscproto xineramaproto xorgserver xproto ;};
buildInputs = [pkgconfig fontsproto libdrm randrproto renderproto videoproto xextproto xf86driproto xf86miscproto xineramaproto xorgserver xproto mesaHeaders glproto ];
}) // {inherit fontsproto libdrm randrproto renderproto videoproto xextproto xf86driproto xf86miscproto xineramaproto xorgserver xproto mesaHeaders glproto;};
xf86videochips = (stdenv.mkDerivation {
name = "xf86-video-chips-1.1.1";

View File

@ -2,7 +2,7 @@
name = "zip-2.32";
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.info-zip.org/pub/infozip/src/zip232.tar.gz;
url = ftp://ftp.info-zip.org/pub/infozip/src/zip232.tgz;
md5 = "8a4da4460386e324debe97f3b7fe4d96";
};
}

View File

@ -303,6 +303,8 @@ rec {
writeScript = name: text: runCommand name {inherit text;} "echo -n \"$text\" > $out; chmod +x $out";
writeScriptBin = name: text: runCommand name {inherit text;} "mkdir -p \$out/bin; echo -n \"\$text\" > \$out/bin/\$name ; chmod +x \$out/bin/\$name";
stdenvNewSetupScript = overrideSetup stdenv ../stdenv/generic/setup-new.sh;
substituteAll = import ../build-support/substitute/substitute-all.nix {
@ -1261,7 +1263,7 @@ rec {
# optional features
inherit fetchurl flex bison apacheHttpd mysql; # gettext;
inherit libxml2;
flags = [ "xdebug" "mysql" "mysqli" "pdo_mysql" "libxml2" "apxs2" ];
flags = [ "mysql" "mysqli" "pdo_mysql" "libxml2" "apxs2" ];
};
@ -2400,7 +2402,7 @@ rec {
t1lib = import ../development/libraries/t1lib {
inherit fetchurl stdenv x11;
inherit (xlibs) libXaw;
inherit (xlibs) libXaw libXpm;
};
taglib = import ../development/libraries/taglib {