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

33 lines
972 B
Nix
Raw Normal View History

{ stdenv, lib, fetchgit, pkgconfig, zathura_core, gtk, girara, mupdf, openssl, openjpeg, libjpeg, jbig2dec }:
2014-05-17 14:16:50 +02:00
stdenv.mkDerivation rec {
version = "0.2.7";
2014-05-17 14:16:50 +02:00
name = "zathura-pdf-mupdf-${version}";
src = fetchgit {
url = "https://git.pwmt.org/zathura-pdf-mupdf.git";
rev = "99bff723291f5aa2558e5c8b475f496025105f4a";
sha256 = "14mfp116a8dmazss3dcipvjs6dclazp36vsbcc53lr8lal5ccfnf";
2014-05-17 14:16:50 +02:00
};
buildInputs = [ pkgconfig zathura_core gtk girara openssl mupdf openjpeg libjpeg jbig2dec ];
makeFlags = "PREFIX=$(out) PLUGINDIR=$(out)/lib";
patches = [
./config.patch
];
2014-05-17 14:16:50 +02:00
meta = with lib; {
2014-05-17 14:16:50 +02: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 14:16:50 +02:00
};
}