22 lines
631 B
Nix
22 lines
631 B
Nix
{ stdenv, fetchurl, pkgconfig, djvulibre, poppler, fontconfig, libjpeg }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.7.21";
|
|
name = "pdf2djvu-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "https://bitbucket.org/jwilk/pdf2djvu/downloads/${name}.tar.xz";
|
|
sha256 = "1fc7nrc8z5z66ifjjqbqn3c52hxlzgkgbdrr3cgrwdp27k681m0j";
|
|
};
|
|
|
|
buildInputs = [ pkgconfig djvulibre poppler fontconfig libjpeg ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Creates djvu files from PDF files";
|
|
homepage = http://code.google.com/p/pdf2djvu/;
|
|
license = licenses.gpl2;
|
|
maintainers = with maintainers; [ pSub ];
|
|
inherit version;
|
|
};
|
|
}
|