nixpkgs-suyu/pkgs/applications/graphics/minidjvu/default.nix
Lluís Batlle i Rossell 05fae54809 Fixing the minidjvu installation
svn path=/nixpkgs/trunk/; revision=26959
2011-04-24 20:13:14 +00:00

26 lines
646 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 = ''
ensureDir $out/lib
'';
meta = {
homepage = http://djvu.sourceforge.net/djview4.html;
description = "Black-and-white djvu page encoder and decoder that use interpage information";
license = "GPLv2+";
maintainers = [ stdenv.lib.maintainers.viric ];
};
}