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

29 lines
893 B
Nix
Raw Normal View History

{ stdenv, lib, fetchurl, meson, ninja, pkg-config, zathura_core, girara, poppler }:
stdenv.mkDerivation rec {
pname = "zathura-pdf-poppler";
2020-02-26 14:44:53 +00:00
version = "0.3.0";
src = fetchurl {
url = "https://pwmt.org/projects/${pname}/download/${pname}-${version}.tar.xz";
sha256 = "1vfl4vkyy3rf39r1sqaa7y8113bgkh2bkfq3nn2inis9mrykmk6m";
};
nativeBuildInputs = [ meson ninja pkg-config zathura_core ];
2018-02-14 19:52:15 +00:00
buildInputs = [ poppler girara ];
2018-03-27 20:45:31 +01:00
PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
2018-02-14 19:52:15 +00:00
meta = with lib; {
homepage = "https://pwmt.org/projects/zathura-pdf-poppler/";
2014-05-17 13:16:50 +01: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 13:16:50 +01:00
using the poppler rendering library.
'';
license = licenses.zlib;
2018-02-14 19:52:15 +00:00
platforms = platforms.unix;
maintainers = with maintainers; [ cstrahan ];
};
}