depot/third_party/nixpkgs/pkgs/applications/misc/zathura/pdf-poppler/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

28 lines
893 B
Nix

{ stdenv, lib, fetchurl, meson, ninja, pkg-config, zathura_core, girara, poppler }:
stdenv.mkDerivation rec {
pname = "zathura-pdf-poppler";
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 ];
buildInputs = [ poppler girara ];
PKG_CONFIG_ZATHURA_PLUGINDIR = "lib/zathura";
meta = with lib; {
homepage = "https://pwmt.org/projects/zathura-pdf-poppler/";
description = "A zathura PDF plugin (poppler)";
longDescription = ''
The zathura-pdf-poppler plugin adds PDF support to zathura by
using the poppler rendering library.
'';
license = licenses.zlib;
platforms = platforms.unix;
maintainers = with maintainers; [ cstrahan ];
};
}