depot/third_party/nixpkgs/pkgs/applications/graphics/minidjvu/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
712 B
Nix

{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];
preInstall = ''
mkdir -p $out/lib
'';
meta = {
homepage = "http://djvu.sourceforge.net/djview4.html";
description = "Black-and-white djvu page encoder and decoder that use interpage information";
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.unix;
};
}