Add moderntimeline extension for moderncv.

This commit is contained in:
Peter Simons 2013-06-15 12:58:21 +02:00
parent 9df1684126
commit b7cba63031
2 changed files with 37 additions and 6 deletions

View 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 = [] ;
};
}

View File

@ -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 { };