dvju2pdf: corrections to the installPhase and dependencies

This commit is contained in:
John Wiegley 2014-06-25 11:18:18 -07:00
parent cda3d5d59b
commit 7c85cef85f

View File

@ -9,7 +9,15 @@ stdenv.mkDerivation rec {
sha256 = "0v2ax30m7j1yi4m02nzn9rc4sn4vzqh5vywdh96r64j4pwvn5s5g";
};
buildInputs = [ pkgconfig djvulibre ghostscript ];
buildInputs = [ pkgconfig ];
propagatedUserEnvPkgs = [ djvulibre ghostscript ];
installPhase = ''
ensureDir $out/bin
cp -p djvu2pdf $out/bin
ensureDir $out/man/man1
cp -p djvu2pdf.1.gz $out/man/man1
'';
meta = {
description = "Creates djvu files from PDF files";