libdbusmenu-gtk3: do not depend on python2 (via gnome-doc-utils)

This commit is contained in:
Jan Tojnar 2019-12-14 16:42:26 +01:00
parent 54a75e9109
commit d58a42ad78
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl, lib, file
, pkgconfig, intltool
, glib, dbus-glib, json-glib
, gobject-introspection, vala, gnome-doc-utils
, gobject-introspection, vala
, gtkVersion ? null, gtk2 ? null, gtk3 ? null }:
with lib;
@ -18,11 +18,10 @@ stdenv.mkDerivation rec {
sha256 = "12l7z8dhl917iy9h02sxmpclnhkdjryn08r8i4sr8l3lrlm4mk5r";
};
nativeBuildInputs = [ vala pkgconfig intltool ];
nativeBuildInputs = [ vala pkgconfig intltool gobject-introspection ];
buildInputs = [
glib dbus-glib json-glib
gobject-introspection gnome-doc-utils
] ++ optional (gtkVersion != null) (if gtkVersion == "2" then gtk2 else gtk3);
postPatch = ''