2011-07-13 17:00:59 +02:00
|
|
|
args: with args;
|
|
|
|
rec {
|
2012-01-19 23:10:41 +01:00
|
|
|
name = "moderncv-2012.01.16";
|
2011-07-13 17:00:59 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://mirror.ctan.org/macros/latex/contrib/moderncv.zip";
|
2012-01-19 23:10:41 +01:00
|
|
|
sha256 = "a9d2de7fc03c35c4084915b2788c8d7acfb695f9e27f6cd81427a7dd1a64cb54";
|
2011-07-13 17:00:59 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [texLive unzip];
|
|
|
|
phaseNames = ["doCopy"];
|
|
|
|
doCopy = fullDepEntry (''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/texmf/tex/latex/moderncv $out/texmf/doc $out/share
|
2011-07-13 18:23:48 +02:00
|
|
|
mv *.cls *.sty $out/texmf/tex/latex/moderncv/
|
|
|
|
mv examples $out/texmf/doc/moderncv
|
|
|
|
ln -s $out/texmf* $out/share/
|
|
|
|
'') ["minInit" "addInputs" "doUnpack" "defEnsureDir"];
|
2011-07-13 17:00:59 +02:00
|
|
|
|
|
|
|
meta = {
|
2011-07-13 18:49:33 +02:00
|
|
|
description = "the moderncv class for TeXLive";
|
2011-07-13 17:00:59 +02:00
|
|
|
maintainers = [ args.lib.maintainers.simons ];
|
|
|
|
|
|
|
|
# Actually, arch-independent..
|
|
|
|
platforms = [] ;
|
|
|
|
};
|
|
|
|
}
|