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