Add moderntimeline extension for moderncv.
This commit is contained in:
parent
9df1684126
commit
b7cba63031
26
pkgs/tools/typesetting/tex/texlive/moderntimeline.nix
Normal file
26
pkgs/tools/typesetting/tex/texlive/moderntimeline.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
args: with args;
|
||||||
|
rec {
|
||||||
|
version = "0.7";
|
||||||
|
name = "moderntimeline-${version}";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://www.ctan.org/tex-archive/macros/latex/contrib/moderntimeline.zip";
|
||||||
|
sha256 = "0dxwybanj7qvbr69wgsllha1brq6qjsnjfff6nw4r3nijzvvh876";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [texLive unzip];
|
||||||
|
phaseNames = ["doCopy"];
|
||||||
|
doCopy = fullDepEntry (''
|
||||||
|
mkdir -p $out/texmf/tex/latex/moderntimeline $out/texmf/doc/moderntimeline $out/share
|
||||||
|
mv *.dtx *.ins $out/texmf/tex/latex/moderntimeline/
|
||||||
|
mv *.pdf $out/texmf/doc/moderntimeline/
|
||||||
|
ln -s $out/texmf* $out/share/
|
||||||
|
'') ["minInit" "addInputs" "doUnpack" "defEnsureDir"];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "the moderntimeline extensions for moderncv";
|
||||||
|
maintainers = [ args.lib.maintainers.simons ];
|
||||||
|
|
||||||
|
# Actually, arch-independent..
|
||||||
|
platforms = [] ;
|
||||||
|
};
|
||||||
|
}
|
@ -2652,8 +2652,8 @@ let
|
|||||||
|
|
||||||
mlton = callPackage ../development/compilers/mlton { };
|
mlton = callPackage ../development/compilers/mlton { };
|
||||||
|
|
||||||
mono = callPackage ../development/compilers/mono {
|
mono = callPackage ../development/compilers/mono {
|
||||||
inherit (xlibs) libX11;
|
inherit (xlibs) libX11;
|
||||||
};
|
};
|
||||||
|
|
||||||
monoDLLFixer = callPackage ../build-support/mono-dll-fixer { };
|
monoDLLFixer = callPackage ../build-support/mono-dll-fixer { };
|
||||||
@ -9398,7 +9398,8 @@ let
|
|||||||
|
|
||||||
texLiveFull = lib.setName "texlive-full" (texLiveAggregationFun {
|
texLiveFull = lib.setName "texlive-full" (texLiveAggregationFun {
|
||||||
paths = [ texLive texLiveExtra lmodern texLiveCMSuper texLiveLatexXColor
|
paths = [ texLive texLiveExtra lmodern texLiveCMSuper texLiveLatexXColor
|
||||||
texLivePGF texLiveBeamer texLiveModerncv tipa tex4ht texinfo5 ];
|
texLivePGF texLiveBeamer texLiveModerncv tipa tex4ht texinfo5
|
||||||
|
texLiveModerntimeline ];
|
||||||
});
|
});
|
||||||
|
|
||||||
/* Look in configurations/misc/raskin.nix for usage example (around revisions
|
/* Look in configurations/misc/raskin.nix for usage example (around revisions
|
||||||
@ -9446,6 +9447,10 @@ let
|
|||||||
inherit texLive unzip;
|
inherit texLive unzip;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
texLiveModerntimeline = builderDefsPackage (import ../tools/typesetting/tex/texlive/moderntimeline.nix) {
|
||||||
|
inherit texLive unzip;
|
||||||
|
};
|
||||||
|
|
||||||
thinkfan = callPackage ../tools/system/thinkfan { };
|
thinkfan = callPackage ../tools/system/thinkfan { };
|
||||||
|
|
||||||
vice = callPackage ../misc/emulators/vice { };
|
vice = callPackage ../misc/emulators/vice { };
|
||||||
@ -9498,14 +9503,14 @@ let
|
|||||||
PatolineEnv = pack: myEnvFun {
|
PatolineEnv = pack: myEnvFun {
|
||||||
name = "patoline";
|
name = "patoline";
|
||||||
buildInputs = [ stdenv ncurses mesa freeglut libzip gcc
|
buildInputs = [ stdenv ncurses mesa freeglut libzip gcc
|
||||||
pack.ocaml pack.findlib pack.camomile
|
pack.ocaml pack.findlib pack.camomile
|
||||||
pack.dypgen pack.ocaml_sqlite3 pack.camlzip
|
pack.dypgen pack.ocaml_sqlite3 pack.camlzip
|
||||||
pack.lablgtk pack.camlimages pack.ocaml_cairo
|
pack.lablgtk pack.camlimages pack.ocaml_cairo
|
||||||
pack.lablgl pack.ocamlnet pack.cryptokit
|
pack.lablgl pack.ocamlnet pack.cryptokit
|
||||||
pack.ocaml_pcre pack.patoline
|
pack.ocaml_pcre pack.patoline
|
||||||
];
|
];
|
||||||
# this is to circumvent the bug with libgcc_s.so.1 which is
|
# this is to circumvent the bug with libgcc_s.so.1 which is
|
||||||
# not found when using thread
|
# not found when using thread
|
||||||
extraCmds = ''
|
extraCmds = ''
|
||||||
LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:${gcc.gcc}/lib
|
LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:${gcc.gcc}/lib
|
||||||
export LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user