2010-08-09 22:59:38 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, zlib, freetype, libjpeg, jbig2dec, openjpeg
|
|
|
|
, libX11, libXext }:
|
|
|
|
stdenv.mkDerivation rec {
|
2010-12-01 12:03:52 +01:00
|
|
|
name = "mupdf-0.7";
|
2010-08-09 22:59:38 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-03-30 12:38:07 +02:00
|
|
|
url = "http://mupdf.com/download/archive/${name}.tar.gz";
|
2010-12-01 12:03:52 +01:00
|
|
|
sha256 = "e7f6307fa472575d27fe893e787ddb3fc927f03ba4ae23105f917189e81960a6";
|
2010-08-09 22:59:38 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgconfig zlib freetype libjpeg jbig2dec openjpeg libX11 libXext ];
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
export makeFlags="prefix=$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://mupdf.com/;
|
|
|
|
description = "Lightweight PDF viewer and toolkit written in portable C";
|
|
|
|
license = "GPLv3+";
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ viric ];
|
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|