nixpkgs/pkgs/by-name/lk/lkproof/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
524 B
Nix
Raw Normal View History

{lib, stdenv, fetchurl, unzip}:
stdenv.mkDerivation {
pname = "lkproof";
version = "3.1";
2018-11-14 22:37:54 +00:00
src = fetchurl {
url = "http://mirror.ctan.org/macros/latex/contrib/lkproof.zip";
sha256 = "1qjkjhpc4rm62qxn18r83zdlwnj1wvnkcpdiqlv7w4bakh0gvjly";
};
2018-11-14 22:37:54 +00:00
nativeBuildInputs = [ unzip ];
installPhase = "
mkdir -p $out/share/texmf-nix/tex/generic/lkproof
cp -prd *.sty $out/share/texmf-nix/tex/generic/lkproof
";
meta = with lib; {
2018-11-14 22:37:54 +00:00
platforms = platforms.unix;
license = licenses.gpl1Plus;
};
}