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

32 lines
894 B
Nix
Raw Normal View History

2015-11-25 07:28:57 -08:00
{ stdenv, lib, fetchurl, pkgconfig, zathura_core, gtk, girara, mupdf, openssl }:
2014-05-17 05:16:50 -07:00
stdenv.mkDerivation rec {
2016-03-01 11:49:46 -08:00
version = "0.3.0";
2014-05-17 05:16:50 -07:00
name = "zathura-pdf-mupdf-${version}";
2015-11-25 07:04:30 -08:00
src = fetchurl {
url = "https://pwmt.org/projects/zathura-pdf-mupdf/download/${name}.tar.gz";
2016-03-01 11:49:46 -08:00
sha256 = "1j3j3wbp49walb19f0966qsnlqbd26wnsjpcxfbf021dav8vk327";
2014-05-17 05:16:50 -07:00
};
2015-11-25 07:28:57 -08:00
buildInputs = [ pkgconfig zathura_core gtk girara openssl mupdf ];
2014-05-17 05:16:50 -07:00
2015-11-25 07:04:30 -08:00
makeFlags = [ "PREFIX=$(out)" "PLUGINDIR=$(out)/lib" ];
2014-05-17 05:16:50 -07:00
patches = [
./config.patch
];
2014-05-17 05:16:50 -07:00
meta = with lib; {
2014-05-17 05:16:50 -07: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 05:16:50 -07:00
};
}