nixpkgs/pkgs/development/compilers/gcc-2.95/default.nix
Eelco Dolstra ffdc517c33 * GCC 2.95.3 (required to build some "old" stuff).
svn path=/nixpkgs/trunk/; revision=1213
2004-08-03 10:36:29 +00:00

19 lines
446 B
Nix

{ stdenv, fetchurl, patch, noSysDirs
, langC ? true, langCC ? true, langF77 ? false
}:
assert langC;
stdenv.mkDerivation {
name = "gcc-2.95.3";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.gnu.org/pub/gnu/gcc/gcc-2.95.3.tar.gz;
md5 = "f3ad4f32c2296fad758ed051b5ac8e28";
};
# !!! apply only if noSysDirs is set
patches = [./no-sys-dirs.patch];
buildInputs = [patch];
inherit noSysDirs langC langCC langF77;
}