diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-10-03 13:33:13 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-10-03 13:33:37 +0200 |
commit | 5227fb1dd53fcb5918b9342dff4868f4ad68427e (patch) | |
tree | d6cd521e3f67944031216a27f740f28f22b73b41 /pkgs/tools/typesetting/tex/texlive | |
parent | d6dd3b8bd1eaeeb21dfdb5051cd4732c748ce5d7 (diff) | |
parent | 33373d939a19f465228ddede6d38ce9032b5916b (diff) | |
download | nixlib-5227fb1dd53fcb5918b9342dff4868f4ad68427e.tar nixlib-5227fb1dd53fcb5918b9342dff4868f4ad68427e.tar.gz nixlib-5227fb1dd53fcb5918b9342dff4868f4ad68427e.tar.bz2 nixlib-5227fb1dd53fcb5918b9342dff4868f4ad68427e.tar.lz nixlib-5227fb1dd53fcb5918b9342dff4868f4ad68427e.tar.xz nixlib-5227fb1dd53fcb5918b9342dff4868f4ad68427e.tar.zst nixlib-5227fb1dd53fcb5918b9342dff4868f4ad68427e.zip |
Merge commit staging+systemd into closure-size
Many non-conflict problems weren't (fully) resolved in this commit yet.
Diffstat (limited to 'pkgs/tools/typesetting/tex/texlive')
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/aggregate.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/beamer.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/cm-super.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/context.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/default.nix | 15 | ||||
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/extra.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/moderncv.nix | 2 | ||||
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/moderntimeline.nix | 13 | ||||
-rw-r--r-- | pkgs/tools/typesetting/tex/texlive/xcolor.nix | 4 |
9 files changed, 28 insertions, 22 deletions
diff --git a/pkgs/tools/typesetting/tex/texlive/aggregate.nix b/pkgs/tools/typesetting/tex/texlive/aggregate.nix index d19ff39e2a48..56b093f921d1 100644 --- a/pkgs/tools/typesetting/tex/texlive/aggregate.nix +++ b/pkgs/tools/typesetting/tex/texlive/aggregate.nix @@ -1,4 +1,4 @@ -args : with args; +args @ {poppler, perl, makeWrapper, ... }: with args; rec { name = "TeXLive-linkdir"; @@ -53,7 +53,7 @@ rec { rm -f $out/texmf*/ls-R for i in web2c texconfig fonts/map; do - mkdir -p $out/texmf-config/$i + mkdir -p $out/texmf-config/$i cp -Lr $out/texmf*/$i/* $out/texmf-config/$i || true done chmod -R u+w $out/texmf-config diff --git a/pkgs/tools/typesetting/tex/texlive/beamer.nix b/pkgs/tools/typesetting/tex/texlive/beamer.nix index f19d185572d3..7acecd66543e 100644 --- a/pkgs/tools/typesetting/tex/texlive/beamer.nix +++ b/pkgs/tools/typesetting/tex/texlive/beamer.nix @@ -1,4 +1,4 @@ -args: with args; +args @ {texLiveLatexXColor, texLivePGF, texLive, ...}: with args; rec { name = "texlive-beamer-2013"; src = fetchurl { diff --git a/pkgs/tools/typesetting/tex/texlive/cm-super.nix b/pkgs/tools/typesetting/tex/texlive/cm-super.nix index 066796ed39c9..5c442fad27f4 100644 --- a/pkgs/tools/typesetting/tex/texlive/cm-super.nix +++ b/pkgs/tools/typesetting/tex/texlive/cm-super.nix @@ -1,4 +1,4 @@ -args: with args; +args @ {texLive, ...}: with args; rec { name = "texlive-cm-super-2009"; src = fetchurl { @@ -29,7 +29,7 @@ rec { description = "Extra components for TeXLive: CM-Super fonts"; maintainers = [ args.lib.maintainers.raskin ]; - # Actually, arch-independent.. + # Actually, arch-independent.. hydraPlatforms = []; }; } diff --git a/pkgs/tools/typesetting/tex/texlive/context.nix b/pkgs/tools/typesetting/tex/texlive/context.nix index 22e0991b5cc1..2cc62c334094 100644 --- a/pkgs/tools/typesetting/tex/texlive/context.nix +++ b/pkgs/tools/typesetting/tex/texlive/context.nix @@ -1,4 +1,4 @@ -args: with args; +args @ { texLive, ... }: with args; rec { name = "context-2014.05.21"; src = fetchurl { @@ -22,4 +22,4 @@ rec { }; } - + diff --git a/pkgs/tools/typesetting/tex/texlive/default.nix b/pkgs/tools/typesetting/tex/texlive/default.nix index 07ced01d8a89..9f0b9d07b932 100644 --- a/pkgs/tools/typesetting/tex/texlive/default.nix +++ b/pkgs/tools/typesetting/tex/texlive/default.nix @@ -1,6 +1,14 @@ -args : with args; +args @ { +builderDefs, zlib, bzip2, ncurses, libpng, ed, lesstif, ruby, potrace +, gd, t1lib, freetype, icu, perl, expat, curl, xz, pkgconfig, zziplib, texinfo +, libjpeg, bison, python, fontconfig, flex, poppler, libpaper, graphite2 +, makeWrapper, gmp, mpfr, xpdf, config +, libXaw, libX11, xproto, libXt, libXpm +, libXmu, libXext, xextproto, libSM, libICE +, ... }: with args; + rec { - src = fetchurl { + src = assert config.allowTexliveBuilds or true; fetchurl { url = mirror://debian/pool/main/t/texlive-bin/texlive-bin_2014.20140926.35254.orig.tar.xz; sha256 = "1c39x059jhn5jsy6i9j3akjbkm1kmmzssy1jyi1aw20rl2vp86w3"; }; @@ -80,7 +88,7 @@ rec { PATH=$PATH:$out/bin mktexlsr $out/share/texmf* - HOME=. PATH=$PATH:$out/bin updmap-sys --syncwithtrees + yes | HOME=. PATH=$PATH:$out/bin updmap-sys --syncwithtrees || echo $? # Prebuild the format files, as it used to be done with TeXLive 2007. # Luatex currently fails this way: @@ -147,5 +155,6 @@ rec { license = stdenv.lib.licenses.gpl2; maintainers = with maintainers; [ lovek323 raskin jwiegley ]; platforms = platforms.unix; + hydraPlatforms = []; }; } diff --git a/pkgs/tools/typesetting/tex/texlive/extra.nix b/pkgs/tools/typesetting/tex/texlive/extra.nix index 59c3389d750b..7f7ffbee7c29 100644 --- a/pkgs/tools/typesetting/tex/texlive/extra.nix +++ b/pkgs/tools/typesetting/tex/texlive/extra.nix @@ -1,4 +1,4 @@ -args: with args; +args @ { texLive, xz, ... }: with args; rec { name = "texlive-extra-2014"; version = "2014.20141024"; diff --git a/pkgs/tools/typesetting/tex/texlive/moderncv.nix b/pkgs/tools/typesetting/tex/texlive/moderncv.nix index f4db43f21f2b..9ec623a0f119 100644 --- a/pkgs/tools/typesetting/tex/texlive/moderncv.nix +++ b/pkgs/tools/typesetting/tex/texlive/moderncv.nix @@ -1,4 +1,4 @@ -args: with args; +args @ {texLive, unzip, ...}: with args; rec { version = "1.5.1"; name = "moderncv-${version}"; diff --git a/pkgs/tools/typesetting/tex/texlive/moderntimeline.nix b/pkgs/tools/typesetting/tex/texlive/moderntimeline.nix index 6cf9ac3e5ce4..6d57a659b63b 100644 --- a/pkgs/tools/typesetting/tex/texlive/moderntimeline.nix +++ b/pkgs/tools/typesetting/tex/texlive/moderntimeline.nix @@ -1,13 +1,10 @@ -args: with args; +args @ {texLive, unzip, ...}: with args; rec { - version = "0.8"; + version = "0.9"; name = "moderntimeline-${version}"; src = fetchurl { - urls = [ - "http://www.ctan.org/tex-archive/macros/latex/contrib/moderntimeline.zip" - "http://mirror.ctan.org/macros/latex/contrib/moderntimeline.zip" - ]; - sha256 = "0y2m0qd0izrfjcwrmf3nvzkqmrhkdhzbv29s4c0knksdnfgcchc8"; + url = "https://github.com/raphink/moderntimeline/archive/v0.9.zip"; + sha256 = "1h1sfdh0whb74y6f999hs80flwpdbs2n4n2b9c450rvs1y7abcml"; }; buildInputs = [texLive unzip]; @@ -15,7 +12,7 @@ rec { doCopy = fullDepEntry ('' mkdir -p $out/texmf-dist/tex/latex/moderntimeline $out/texmf-dist/doc/moderntimeline $out/share mv *.dtx *.ins $out/texmf-dist/tex/latex/moderntimeline/ - mv *.pdf $out/texmf-dist/doc/moderntimeline/ + mv *.md $out/texmf-dist/doc/moderntimeline/ ln -s $out/texmf* $out/share/ '') ["minInit" "addInputs" "doUnpack" "defEnsureDir"]; diff --git a/pkgs/tools/typesetting/tex/texlive/xcolor.nix b/pkgs/tools/typesetting/tex/texlive/xcolor.nix index 892734afe461..57351e069928 100644 --- a/pkgs/tools/typesetting/tex/texlive/xcolor.nix +++ b/pkgs/tools/typesetting/tex/texlive/xcolor.nix @@ -1,4 +1,4 @@ -args: with args; +args @ {texLive, ... }: with args; rec { name = "texlive-latex-xcolor-2007"; src = fetchurl { @@ -14,7 +14,7 @@ rec { mkdir -p $out/texmf-dist/tex/latex/xcolor mkdir -p $out/texmf-dist/dvips/xcolor - latex xcolor.ins + latex xcolor.ins cp *.sty *.def $out/texmf-dist/tex/latex/xcolor cp *.pro $out/texmf-dist/dvips/xcolor |