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