mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
Added moderncv package to texlive.
svn path=/nixpkgs/trunk/; revision=27762
This commit is contained in:
parent
13720273bb
commit
a16e01fe19
24
pkgs/misc/tex/texlive/moderncv.nix
Normal file
24
pkgs/misc/tex/texlive/moderncv.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
args: with args;
|
||||
rec {
|
||||
name = "moderncv-2007.05.28";
|
||||
src = fetchurl {
|
||||
url = "http://mirror.ctan.org/macros/latex/contrib/moderncv.zip";
|
||||
sha256 = "d479141e9ae6dad745b03af47541b1bf7d312613de42bb7984eb4b556854cb51";
|
||||
};
|
||||
|
||||
buildInputs = [texLive unzip];
|
||||
phaseNames = ["doCopy"];
|
||||
doCopy = fullDepEntry (''
|
||||
ensureDir $out/share
|
||||
cp -r texmf* $out/
|
||||
ln -s $out/texmf* $out/share
|
||||
'') ["minInit" "doUnpack" "defEnsureDir" "addInputs"];
|
||||
|
||||
meta = {
|
||||
description = "Extra components for TeXLive";
|
||||
maintainers = [ args.lib.maintainers.simons ];
|
||||
|
||||
# Actually, arch-independent..
|
||||
platforms = [] ;
|
||||
};
|
||||
}
|
|
@ -8113,6 +8113,10 @@ let
|
|||
inherit texLiveLatexXColor texLivePGF texLive;
|
||||
};
|
||||
|
||||
texLiveModerncv = builderDefsPackage (import ../misc/tex/texlive/moderncv.nix) {
|
||||
inherit texLive;
|
||||
};
|
||||
|
||||
trac = callPackage ../misc/trac {
|
||||
inherit (pythonPackages) pysqlite;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue