blob: 4cb93794edfed7dbb7815ed525eeb9f9fc49c6a5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
args: with args;
rec {
version = "0.7";
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 = "0dxwybanj7qvbr69wgsllha1brq6qjsnjfff6nw4r3nijzvvh876";
};
buildInputs = [texLive unzip];
phaseNames = ["doCopy"];
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/
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 = [] ;
};
}
|