2019-09-18 21:17:03 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, libjpeg
|
|
|
|
, libtiff
|
|
|
|
, librsvg
|
|
|
|
, libiconv
|
|
|
|
}:
|
2009-03-03 13:27:40 +00:00
|
|
|
|
2011-07-11 15:29:27 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-09-18 21:17:03 +01:00
|
|
|
pname = "djvulibre";
|
|
|
|
version = "3.5.27";
|
2007-07-01 21:11:32 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-09-18 21:17:03 +01:00
|
|
|
url = "mirror://sourceforge/djvu/${pname}-${version}.tar.gz";
|
2015-02-12 19:32:24 +00:00
|
|
|
sha256 = "0psh3zl9dj4n4r3lx25390nx34xz0bg0ql48zdskhq354ljni5p6";
|
2007-07-01 21:11:32 +01:00
|
|
|
};
|
|
|
|
|
2016-08-29 01:30:01 +01:00
|
|
|
outputs = [ "bin" "dev" "out" ];
|
2015-10-28 18:36:40 +00:00
|
|
|
|
2019-09-18 21:17:03 +01:00
|
|
|
buildInputs = [
|
|
|
|
libjpeg
|
|
|
|
libtiff
|
|
|
|
librsvg
|
|
|
|
libiconv
|
|
|
|
];
|
2007-07-01 21:11:32 +01:00
|
|
|
|
2015-03-27 21:09:22 +00:00
|
|
|
meta = with stdenv.lib; {
|
2019-09-18 21:17:03 +01:00
|
|
|
description = "The big set of CLI tools to make/modify/optimize/show/export DJVU files";
|
|
|
|
homepage = "http://djvu.sourceforge.net";
|
2015-03-27 21:09:22 +00:00
|
|
|
license = licenses.gpl2;
|
2019-09-18 21:17:03 +01:00
|
|
|
maintainers = with maintainers; [ Anton-Latukha ];
|
2015-03-27 21:09:22 +00:00
|
|
|
platforms = platforms.all;
|
2007-07-01 21:11:32 +01:00
|
|
|
};
|
|
|
|
}
|