nixpkgs/pkgs/applications/misc/zathura/pdf-mupdf/default.nix

32 lines
894 B
Nix
Raw Normal View History

2015-11-25 18:28:57 +03:00
{ stdenv, lib, fetchurl, pkgconfig, zathura_core, gtk, girara, mupdf, openssl }:
2014-05-17 16:16:50 +04:00
stdenv.mkDerivation rec {
2015-11-25 18:04:30 +03:00
version = "0.2.8";
2014-05-17 16:16:50 +04:00
name = "zathura-pdf-mupdf-${version}";
2015-11-25 18:04:30 +03:00
src = fetchurl {
url = "https://pwmt.org/projects/zathura-pdf-mupdf/download/${name}.tar.gz";
sha256 = "0439ls8xqnq6hqa53hd0wqxh1qf0xmccfi3pb0m4mlfs5iv952wz";
2014-05-17 16:16:50 +04:00
};
2015-11-25 18:28:57 +03:00
buildInputs = [ pkgconfig zathura_core gtk girara openssl mupdf ];
2014-05-17 16:16:50 +04:00
2015-11-25 18:04:30 +03:00
makeFlags = [ "PREFIX=$(out)" "PLUGINDIR=$(out)/lib" ];
2014-05-17 16:16:50 +04:00
patches = [
./config.patch
];
2014-05-17 16:16:50 +04:00
meta = with lib; {
2014-05-17 16:16:50 +04: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.
'';
license = licenses.zlib;
platforms = platforms.linux;
maintainers = with maintainers; [ cstrahan ];
2014-05-17 16:16:50 +04:00
};
}