blueman: no optional networkmanager
blueman declares NetworkManager gi bindings
as a required runtime dependency [0]
Fixes #69555
[0]: 531da47b06/Dependencies.md
This commit is contained in:
parent
02585db25b
commit
fcb84c5534
@ -1,9 +1,7 @@
|
|||||||
{ config, stdenv, lib, fetchurl, intltool, pkgconfig, python3Packages, bluez, gtk3
|
{ config, stdenv, lib, fetchurl, intltool, pkgconfig, python3Packages, bluez, gtk3
|
||||||
, obex_data_server, xdg_utils, dnsmasq, dhcp, libappindicator, iproute
|
, obex_data_server, xdg_utils, dnsmasq, dhcp, libappindicator, iproute
|
||||||
, gnome3, librsvg, wrapGAppsHook, gobject-introspection
|
, gnome3, librsvg, wrapGAppsHook, gobject-introspection
|
||||||
, withNetworkManager ?
|
, networkmanager, withPulseAudio ? config.pulseaudio or stdenv.isLinux, libpulseaudio }:
|
||||||
config.networking.networkmanager.enable or false, networkmanager
|
|
||||||
, withPulseAudio ? config.pulseaudio or stdenv.isLinux, libpulseaudio }:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
pythonPackages = python3Packages;
|
pythonPackages = python3Packages;
|
||||||
@ -24,10 +22,9 @@ in stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [ bluez gtk3 pythonPackages.python librsvg
|
buildInputs = [ bluez gtk3 pythonPackages.python librsvg
|
||||||
gnome3.adwaita-icon-theme iproute libappindicator ]
|
gnome3.adwaita-icon-theme iproute libappindicator networkmanager ]
|
||||||
++ pythonPath
|
++ pythonPath
|
||||||
++ lib.optional withPulseAudio libpulseaudio
|
++ lib.optional withPulseAudio libpulseaudio;
|
||||||
++ lib.optional withNetworkManager networkmanager;
|
|
||||||
|
|
||||||
postPatch = lib.optionalString withPulseAudio ''
|
postPatch = lib.optionalString withPulseAudio ''
|
||||||
sed -i 's,CDLL(",CDLL("${libpulseaudio.out}/lib/,g' blueman/main/PulseAudioUtils.py
|
sed -i 's,CDLL(",CDLL("${libpulseaudio.out}/lib/,g' blueman/main/PulseAudioUtils.py
|
||||||
|
Loading…
x
Reference in New Issue
Block a user