2021-11-07 20:29:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libtiff, gettext }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "minidjvu";
|
|
|
|
version = "0.8";
|
2011-04-24 20:10:43 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-07 20:29:51 +00:00
|
|
|
url = "mirror://sourceforge/minidjvu/minidjvu-${version}.tar.gz";
|
2011-04-24 20:10:43 +00:00
|
|
|
sha256 = "0jmpvy4g68k6xgplj9zsl6brg6vi81mx3nx2x9hfbr1f4zh95j79";
|
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
sed -i s,/usr/bin/gzip,gzip, Makefile.in
|
|
|
|
'';
|
|
|
|
|
2021-11-07 20:29:51 +00:00
|
|
|
buildInputs = [ libtiff gettext ];
|
2011-04-24 20:10:43 +00:00
|
|
|
|
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 = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://djvu.sourceforge.net/djview4.html";
|
2011-04-24 20:10:43 +00: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 20:10:43 +00:00
|
|
|
};
|
|
|
|
}
|