3
0
Fork 0
forked from mirrors/nixpkgs

network-manager-applet: Don't depend on webkitgtk by default

This added significant bloat to non-Gnome systems.
This commit is contained in:
Eelco Dolstra 2017-09-27 12:02:34 +02:00
parent 7f3cb3fe71
commit 65b04b8bef

View file

@ -1,7 +1,8 @@
{ stdenv, fetchurl, intltool, pkgconfig, libglade, networkmanager, gnome3
, libnotify, libsecret, polkit, isocodes, modemmanager, librsvg
, mobile_broadband_provider_info, glib_networking, gsettings_desktop_schemas
, makeWrapper, udev, libgudev, hicolor_icon_theme, jansson, wrapGAppsHook, webkitgtk }:
, makeWrapper, udev, libgudev, hicolor_icon_theme, jansson, wrapGAppsHook, webkitgtk
, withGnome ? false }:
stdenv.mkDerivation rec {
name = "${pname}-${major}.${minor}";
@ -24,8 +25,8 @@ stdenv.mkDerivation rec {
buildInputs = [
gnome3.gtk libglade networkmanager libnotify libsecret gsettings_desktop_schemas
polkit isocodes makeWrapper udev libgudev gnome3.gconf gnome3.libgnome_keyring
modemmanager jansson librsvg glib_networking gnome3.dconf webkitgtk
];
modemmanager jansson librsvg glib_networking gnome3.dconf
] ++ stdenv.lib.optional withGnome webkitgtk;
nativeBuildInputs = [ intltool pkgconfig wrapGAppsHook ];