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

29 lines
872 B
Nix
Raw Normal View History

{ stdenv, lib, fetchurl, pkgconfig, zathura_core, girara, poppler }:
stdenv.mkDerivation rec {
2017-12-31 01:02:24 +00:00
version = "0.2.8";
name = "zathura-pdf-poppler-${version}";
src = fetchurl {
url = "http://pwmt.org/projects/zathura/plugins/download/${name}.tar.gz";
2017-12-31 01:02:24 +00:00
sha256 = "1m55m7s7f8ng8a7lmcw9z4n5zv7xk4vp9n6fp9j84z6rk2imf7a2";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ poppler zathura_core girara ];
makeFlags = [ "PREFIX=$(out)" "PLUGINDIR=$(out)/lib" ];
meta = with lib; {
homepage = http://pwmt.org/projects/zathura/;
2014-05-17 12:16:50 +00:00
description = "A zathura PDF plugin (poppler)";
longDescription = ''
2017-12-31 01:02:24 +00:00
The zathura-pdf-poppler plugin adds PDF support to zathura by
2014-05-17 12:16:50 +00:00
using the poppler rendering library.
'';
license = licenses.zlib;
platforms = platforms.linux;
maintainers = with maintainers; [ cstrahan garbas ];
};
}