3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/zathura/pdf-poppler/default.nix

29 lines
912 B
Nix
Raw Normal View History

2018-03-27 20:45:31 +01:00
{ stdenv, lib, fetchurl, meson, ninja, pkgconfig, zathura_core, girara, poppler }:
stdenv.mkDerivation rec {
2018-03-27 20:45:31 +01:00
version = "0.2.9";
pname = "zathura-pdf-poppler";
src = fetchurl {
url = "https://git.pwmt.org/pwmt/zathura-pdf-poppler/-/archive/${version}/${pname}-${version}.tar.gz";
2019-07-05 00:28:59 +01:00
sha256 = "0c15rnwh42m3ybrhax01bl36w0iynaq8xg6l08riml3cyljypi9l";
};
2018-03-27 20:45:31 +01:00
nativeBuildInputs = [ meson ninja pkgconfig 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; {
2018-03-27 20:45:31 +01:00
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 ];
};
}