silx: 2.1.1 -> 2.1.2 (#361612)
[NixPkgs.git] / pkgs / by-name / lk / lkproof / package.nix
blob6b866b43d1b96892fa3878f4065e05238bd54bbe
1 {lib, stdenv, fetchurl, unzip}:
3 stdenv.mkDerivation {
4   pname = "lkproof";
5   version = "3.1";
7   src = fetchurl {
8     url = "http://mirror.ctan.org/macros/latex/contrib/lkproof.zip";
9     sha256 = "1qjkjhpc4rm62qxn18r83zdlwnj1wvnkcpdiqlv7w4bakh0gvjly";
10   };
12   nativeBuildInputs = [ unzip ];
14   installPhase = "
15     mkdir -p $out/share/texmf-nix/tex/generic/lkproof
16     cp -prd *.sty $out/share/texmf-nix/tex/generic/lkproof
17   ";
19   meta = with lib; {
20     platforms = platforms.unix;
21     license = licenses.gpl1Plus;
22   };