Added ConTEXt; cyrillic seems to be fundamentally broken...
svn path=/nixpkgs/trunk/; revision=11735
This commit is contained in:
parent
55f4987f42
commit
c9027b1cba
21
pkgs/misc/tex/texlive/context.nix
Normal file
21
pkgs/misc/tex/texlive/context.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
args: with args;
|
||||||
|
rec {
|
||||||
|
name = "context-2008.01.28";
|
||||||
|
src = fetchurl {
|
||||||
|
url = http://ftp.de.debian.org/debian/pool/main/c/context/context_2008.01.28.orig.tar.gz;
|
||||||
|
sha256 = "0infkn73v3kwqgg6b7rqnr28i5z5dbdfapy6ppzlcnr19yj4nh9y";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [texLive];
|
||||||
|
phaseNames = ["doCopy"];
|
||||||
|
doCopy = FullDepEntry (''
|
||||||
|
ensureDir $out/share/texmf
|
||||||
|
cp -r * $out/share/texmf
|
||||||
|
'') ["minInit" "doUnpack" "defEnsureDir" "addInputs"];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "ConTEXt TeX wrapper";
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
@ -51,6 +51,8 @@ rec {
|
||||||
ln -s $out/share/texmf $out/share/texmf-config
|
ln -s $out/share/texmf $out/share/texmf-config
|
||||||
|
|
||||||
sed -e 's/.*pyhyph.*/=&/' -i $out/share/texmf-config/tex/generic/config/language.dat
|
sed -e 's/.*pyhyph.*/=&/' -i $out/share/texmf-config/tex/generic/config/language.dat
|
||||||
|
sed -e 's@^#!env ruby@#! ${ruby}/bin/ruby@' -i $out/libexec/*/*
|
||||||
|
sed -e 's@^#!env perl@#! ${perl}/bin/perl@' -i $out/libexec/*/*
|
||||||
|
|
||||||
PATH=$PATH:$out/bin mktexlsr $out/share/texmf*
|
PATH=$PATH:$out/bin mktexlsr $out/share/texmf*
|
||||||
|
|
||||||
|
@ -63,6 +65,7 @@ rec {
|
||||||
zlib bzip2 ncurses libpng flex bison libX11 libICE
|
zlib bzip2 ncurses libpng flex bison libX11 libICE
|
||||||
xproto freetype t1lib gd libXaw icu ghostscript ed
|
xproto freetype t1lib gd libXaw icu ghostscript ed
|
||||||
libXt libXpm libXmu libXext xextproto perl libSM
|
libXt libXpm libXmu libXext xextproto perl libSM
|
||||||
|
ruby
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags = [ "--with-x11" "--with-system-zlib"
|
configureFlags = [ "--with-x11" "--with-system-zlib"
|
||||||
|
|
Loading…
Reference in a new issue