nixpkgs/pkgs/misc/tex/texlive/context.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

26 lines
536 B
Nix

args: with args;
rec {
name = "context-2009.11.26";
src = fetchurl {
url = mirror://debian/pool/main/c/context/context_2009.11.26.orig.tar.gz;
sha256 = "1qv3h97cyhjyvivs30fz9bqr77j348azagm7ijiyfrclvjjlwav9";
};
buildInputs = [texLive];
phaseNames = ["doCopy"];
doCopy = fullDepEntry (''
mkdir -p $out/share/
mkdir -p $out/texmf
cp -r * $out/texmf
ln -s $out/texmf* $out/share/
'') ["minInit" "doUnpack" "defEnsureDir" "addInputs"];
meta = {
description = "ConTEXt TeX wrapper";
};
}