2011-04-24 20:10:43 +00:00
|
|
|
{stdenv, fetchurl, libtiff, gettext }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "minidjvu-0.8";
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://sourceforge/minidjvu/minidjvu-0.8.tar.gz;
|
|
|
|
sha256 = "0jmpvy4g68k6xgplj9zsl6brg6vi81mx3nx2x9hfbr1f4zh95j79";
|
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i s,/usr/bin/gzip,gzip, Makefile.in
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [ libtiff gettext];
|
|
|
|
|
2011-04-24 20:13:14 +00:00
|
|
|
preInstall = ''
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p $out/lib
|
2011-04-24 20:13:14 +00:00
|
|
|
'';
|
|
|
|
|
2011-04-24 20:10:43 +00:00
|
|
|
meta = {
|
|
|
|
homepage = http://djvu.sourceforge.net/djview4.html;
|
|
|
|
description = "Black-and-white djvu page encoder and decoder that use interpage information";
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2011-04-24 20:10:43 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.viric ];
|
2016-08-02 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2011-04-24 20:10:43 +00:00
|
|
|
};
|
|
|
|
}
|