2013-09-07 04:09:11 +04:00
|
|
|
{ stdenv, fetchurl, libjpeg, libtiff, librsvg, libintlOrEmpty }:
|
2009-03-03 16:27:40 +03:00
|
|
|
|
2011-07-11 18:29:27 +04:00
|
|
|
stdenv.mkDerivation rec {
|
2015-02-12 22:32:24 +03:00
|
|
|
name = "djvulibre-3.5.27";
|
2007-07-02 00:11:32 +04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-07-11 18:29:27 +04:00
|
|
|
url = "mirror://sourceforge/djvu/${name}.tar.gz";
|
2015-02-12 22:32:24 +03:00
|
|
|
sha256 = "0psh3zl9dj4n4r3lx25390nx34xz0bg0ql48zdskhq354ljni5p6";
|
2007-07-02 00:11:32 +04:00
|
|
|
};
|
|
|
|
|
2016-08-29 03:30:01 +03:00
|
|
|
outputs = [ "bin" "dev" "out" ];
|
2015-10-28 21:36:40 +03:00
|
|
|
|
2013-09-07 04:09:11 +04:00
|
|
|
buildInputs = [ libjpeg libtiff librsvg ] ++ libintlOrEmpty;
|
|
|
|
|
|
|
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
2007-07-02 00:11:32 +04:00
|
|
|
|
2015-03-28 00:09:22 +03:00
|
|
|
meta = with stdenv.lib; {
|
2009-03-03 16:27:40 +03:00
|
|
|
description = "A library and viewer for the DJVU file format for scanned images";
|
2008-01-30 22:49:42 +03:00
|
|
|
homepage = http://djvu.sourceforge.net;
|
2015-03-28 00:09:22 +03:00
|
|
|
license = licenses.gpl2;
|
2017-03-27 20:11:17 +03:00
|
|
|
maintainers = with maintainers; [ ];
|
2015-03-28 00:09:22 +03:00
|
|
|
platforms = platforms.all;
|
2007-07-02 00:11:32 +04:00
|
|
|
};
|
|
|
|
}
|