3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/plasma-5/plasma-nm/default.nix
2021-05-14 05:46:37 -05:00

37 lines
1.1 KiB
Nix

{
mkDerivation, lib, substituteAll,
extra-cmake-modules, kdoctools,
kcompletion, kconfigwidgets, kcoreaddons, kdbusaddons, kdeclarative,
ki18n, kiconthemes, kinit, kio, kitemviews, knotifications, kservice, kwallet,
kwidgetsaddons, kwindowsystem, kxmlgui, plasma-framework, prison, solid,
mobile-broadband-provider-info, openconnect, openvpn,
modemmanager-qt, networkmanager-qt, qca-qt5,
qtbase, qtdeclarative, qttools,
}:
mkDerivation {
name = "plasma-nm";
nativeBuildInputs = [ extra-cmake-modules kdoctools qttools ];
buildInputs = [
kdeclarative ki18n kio kwindowsystem plasma-framework kcompletion
kconfigwidgets kcoreaddons kdbusaddons kiconthemes
kinit kitemviews knotifications kservice kwallet kwidgetsaddons kxmlgui
prison solid
qtdeclarative
modemmanager-qt networkmanager-qt qca-qt5
mobile-broadband-provider-info openconnect
];
patches = [
(substituteAll {
src = ./0001-mobile-broadband-provider-info-path.patch;
mobile_broadband_provider_info = mobile-broadband-provider-info;
})
(substituteAll {
src = ./0002-openvpn-binary-path.patch;
inherit openvpn;
})
];
}