2016-08-26 01:42:08 +01:00
|
|
|
{ stdenv, lib, fetchurl, pkgconfig, zathura_core, gtk, girara, mupdf, openssl
|
|
|
|
, libjpeg, jbig2dec, openjpeg, fetchpatch }:
|
2014-05-17 13:16:50 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-02 23:00:05 +00:00
|
|
|
version = "0.3.1";
|
2014-05-17 13:16:50 +01:00
|
|
|
name = "zathura-pdf-mupdf-${version}";
|
|
|
|
|
2015-11-25 15:04:30 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://pwmt.org/projects/zathura-pdf-mupdf/download/${name}.tar.gz";
|
2017-02-02 23:00:05 +00:00
|
|
|
sha256 = "06zqn8z6a0hfsx3s1kzqvqzb73afgcl6z5r062sxv7kv570fvffr";
|
2014-05-17 13:16:50 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ zathura_core gtk girara openssl mupdf libjpeg jbig2dec openjpeg ];
|
2014-05-17 13:16:50 +01:00
|
|
|
|
2015-11-25 15:04:30 +00:00
|
|
|
makeFlags = [ "PREFIX=$(out)" "PLUGINDIR=$(out)/lib" ];
|
2014-05-17 13:16:50 +01:00
|
|
|
|
2015-05-06 15:34:12 +01:00
|
|
|
meta = with lib; {
|
2014-05-17 13:16:50 +01:00
|
|
|
homepage = http://pwmt.org/projects/zathura/;
|
|
|
|
description = "A zathura PDF plugin (mupdf)";
|
|
|
|
longDescription = ''
|
|
|
|
The zathura-pdf-mupdf plugin adds PDF support to zathura by
|
|
|
|
using the mupdf rendering library.
|
|
|
|
'';
|
2015-05-06 15:34:12 +01:00
|
|
|
license = licenses.zlib;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ cstrahan ];
|
2014-05-17 13:16:50 +01:00
|
|
|
};
|
|
|
|
}
|