mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
a0159dee8e
URLs to http://nix.cs.uu.nl/dist/tarballs. With content-addressable mirror support (r9190, NIXPKGS-70) this is no longer necessary: fetchurl will try to download from that location automatically. So we can keep the original URLs. svn path=/nixpkgs/trunk/; revision=9192
18 lines
399 B
Nix
18 lines
399 B
Nix
{ stdenv, fetchurl, noSysDirs
|
|
, langC ? true, langCC ? true, langF77 ? false
|
|
}:
|
|
|
|
assert langC;
|
|
|
|
# !!! impurity: finds /usr/bin/as, /usr/bin/ranlib.
|
|
|
|
stdenv.mkDerivation {
|
|
name = "gcc-3.3.6";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://ftp.gnu.org/gnu/gcc/gcc-3.3.6/gcc-3.3.6.tar.bz2;
|
|
md5 = "6936616a967da5a0b46f1e7424a06414";
|
|
};
|
|
inherit noSysDirs langC langCC langF77;
|
|
}
|