Add tex macro lkproof for making proof figures.

svn path=/nixpkgs/trunk/; revision=25277
This commit is contained in:
Karn Kallio
2010-12-25 18:06:36 +00:00
parent 801ce7d5fb
commit 4bbb72da2f
2 changed files with 19 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
{stdenv, fetchurl, unzip}:
stdenv.mkDerivation {
name = "lkproof-3.1";
src = fetchurl {
url = http://mirror.ctan.org/macros/latex/contrib/lkproof.zip;
sha256 = "1qjkjhpc4rm62qxn18r83zdlwnj1wvnkcpdiqlv7w4bakh0gvjly";
};
buildInputs = [ unzip ];
installPhase = "
ensureDir $out/share/texmf-nix/tex/generic/lkproof
cp -prd *.sty $out/share/texmf-nix/tex/generic/lkproof
";
}