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
1 changed files with 2 additions and 3 deletions

View File

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