nixpkgs/pkgs/misc/tex/tetex/default.nix
Eelco Dolstra a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
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
2007-08-24 12:32:36 +00:00

26 lines
674 B
Nix

{stdenv, fetchurl, flex, bison, zlib, libpng, ncurses, ed}:
stdenv.mkDerivation {
name = "tetex-3.0";
builder = ./builder.sh;
src = fetchurl {
url = ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-src-3.0.tar.gz;
md5 = "944a4641e79e61043fdaf8f38ecbb4b3";
};
texmf = fetchurl {
url = ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/tetex-texmf-3.0.tar.gz;
md5 = "11aa15c8d3e28ee7815e0d5fcdf43fd4";
};
buildInputs = [flex bison zlib libpng ncurses ed];
patches = [./environment.patch];
setupHook = ./setup-hook.sh;
meta = {
description = "A full-featured (La)TeX distribution";
};
}