nixpkgs/pkgs/development/compilers/gcc-4.0/default.nix
Martin Bravenboer 2c6d747823 Update to 4.0.2
svn path=/nixpkgs/trunk/; revision=4170
2005-10-30 23:58:42 +00:00

19 lines
486 B
Nix

{ stdenv, fetchurl, noSysDirs
, langC ? true, langCC ? true, langF77 ? false
, profiledCompiler ? false
}:
assert langC;
stdenv.mkDerivation {
name = "gcc-4.0.2";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.nluug.nl/mirror/languages/gcc/releases/gcc-4.0.2/gcc-4.0.2.tar.bz2;
md5 = "a659b8388cac9db2b13e056e574ceeb0";
};
# !!! apply only if noSysDirs is set
patches = [./no-sys-dirs.patch];
inherit noSysDirs langC langCC langF77 profiledCompiler;
}