2013-09-07 02:09:11 +02:00
|
|
|
{ stdenv, fetchurl, libjpeg, libtiff, librsvg, libintlOrEmpty }:
|
2009-03-03 14:27:40 +01:00
|
|
|
|
2011-07-11 16:29:27 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2013-01-29 13:50:13 +01:00
|
|
|
name = "djvulibre-3.5.25.3";
|
2007-07-01 22:11:32 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-07-11 16:29:27 +02:00
|
|
|
url = "mirror://sourceforge/djvu/${name}.tar.gz";
|
2013-01-29 13:50:13 +01:00
|
|
|
sha256 = "1q5i5ha4zmj2ahjfhi8cv1rah80vm43m9ads46ji38rgvpb7x3c9";
|
2007-07-01 22:11:32 +02:00
|
|
|
};
|
|
|
|
|
2013-09-07 02:09:11 +02:00
|
|
|
buildInputs = [ libjpeg libtiff librsvg ] ++ libintlOrEmpty;
|
|
|
|
|
|
|
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
|
2007-07-01 22:11:32 +02:00
|
|
|
|
|
|
|
meta = {
|
2009-03-03 14:27:40 +01:00
|
|
|
description = "A library and viewer for the DJVU file format for scanned images";
|
2008-01-30 20:49:42 +01:00
|
|
|
homepage = http://djvu.sourceforge.net;
|
2012-01-05 10:54:46 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2007-07-01 22:11:32 +02:00
|
|
|
};
|
|
|
|
}
|