mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
* Added teTeX 3.0. Sure, it may take up 267M of disk space, but it
contains everything you could possibly need, including beamer ;-) This teTeX has been built without X11 support, meaning that xdvi is not included. svn path=/nixpkgs/trunk/; revision=2931
This commit is contained in:
parent
b381db3399
commit
d6a1bfe1dc
20
pkgs/misc/tex/tetex/builder.sh
Normal file
20
pkgs/misc/tex/tetex/builder.sh
Normal file
@ -0,0 +1,20 @@
|
||||
. $stdenv/setup
|
||||
|
||||
postUnpack=postUnpack
|
||||
postUnpack() {
|
||||
ensureDir $out/share/texmf
|
||||
ensureDir $out/share/texmf-dist
|
||||
gunzip < $texmf | (cd $out/share/texmf-dist && tar xvf -)
|
||||
}
|
||||
|
||||
configureFlags="\
|
||||
--disable-multiplatform \
|
||||
--without-x11 \
|
||||
--without-xdvik \
|
||||
--without-oxdvik \
|
||||
--with-system-zlib \
|
||||
--with-system-pnglib \
|
||||
--with-system-ncurses \
|
||||
"
|
||||
|
||||
genericBuild
|
18
pkgs/misc/tex/tetex/default.nix
Normal file
18
pkgs/misc/tex/tetex/default.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{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];
|
||||
}
|
@ -1289,6 +1289,10 @@ rec {
|
||||
};
|
||||
*/
|
||||
|
||||
tetex = (import ../misc/tex/tetex) {
|
||||
inherit fetchurl stdenv flex bison zlib libpng ncurses ed;
|
||||
};
|
||||
|
||||
nix = (import ../misc/nix) {
|
||||
inherit fetchurl stdenv aterm perl;
|
||||
curl = bootCurl; /* !!! ugly */
|
||||
|
Loading…
Reference in New Issue
Block a user