zathura: fix build with auto_features=enabled

This commit is contained in:
Jan Tojnar 2019-06-25 17:48:32 +02:00
parent 4abfebf1fe
commit 4bc87ff365
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,6 +1,6 @@
{ stdenv, fetchurl, meson, ninja, wrapGAppsHook, pkgconfig
, appstream-glib, desktop-file-utils, python3
, gtk, girara, gettext, libxml2
, gtk, girara, gettext, libxml2, check
, sqlite, glib, texlive, libintl, libseccomp
, file, librsvg
, gtk-mac-integration, synctexSupport ? true
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
meson ninja pkgconfig desktop-file-utils python3.pkgs.sphinx
gettext wrapGAppsHook libxml2
gettext wrapGAppsHook libxml2 check
] ++ optional stdenv.isLinux appstream-glib;
buildInputs = [
@ -42,6 +42,8 @@ stdenv.mkDerivation rec {
++ optional stdenv.isLinux libseccomp
++ optional stdenv.isDarwin gtk-mac-integration;
doCheck = true;
meta = {
homepage = https://pwmt.org/projects/zathura/;
description = "A core component for zathura PDF viewer";