djvu2pdf: new expression

This commit is contained in:
John Wiegley 2014-06-25 11:14:53 -07:00
parent 4304487003
commit cda3d5d59b
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,20 @@
{stdenv, fetchurl, pkgconfig, djvulibre, ghostscript }:
stdenv.mkDerivation rec {
version = "0.9.2";
name = "djvu2pdf-${version}";
src = fetchurl {
url = "http://0x2a.at/site/projects/djvu2pdf/djvu2pdf-${version}.tar.gz";
sha256 = "0v2ax30m7j1yi4m02nzn9rc4sn4vzqh5vywdh96r64j4pwvn5s5g";
};
buildInputs = [ pkgconfig djvulibre ghostscript ];
meta = {
description = "Creates djvu files from PDF files";
homepage = http://0x2a.at/s/projects/djvu2pdf;
license = stdenv.lib.licenses.gpl2;
inherit version;
};
}

View File

@ -8215,6 +8215,8 @@ let
djvulibre = callPackage ../applications/misc/djvulibre { };
djvu2pdf = callPackage ../tools/typesetting/djvu2pdf { };
djview = callPackage ../applications/graphics/djview { };
djview4 = pkgs.djview;