nixpkgs/pkgs/desktops/plasma-5/plasma-nm/default.nix

34 lines
1.2 KiB
Nix
Raw Normal View History

{
2020-12-05 20:52:31 +00:00
mkDerivation, lib, substituteAll,
extra-cmake-modules, kdoctools,
kcompletion, kconfigwidgets, kcoreaddons, kdbusaddons, kdeclarative,
kdelibs4support, ki18n, kiconthemes, kinit, kio, kitemviews, knotifications,
kservice, kwallet, kwidgetsaddons, kwindowsystem, kxmlgui,
mobile-broadband-provider-info, modemmanager-qt, networkmanager-qt,
2020-12-05 20:52:31 +00:00
openconnect, openvpn, plasma-framework, qca-qt5, qtbase, qtdeclarative,
qttools, solid
2016-04-21 17:01:22 +01:00
}:
mkDerivation {
2016-04-21 17:01:22 +01:00
name = "plasma-nm";
2020-12-05 20:52:31 +00:00
meta.broken = lib.versionOlder qtbase.version "5.15.0";
2017-05-26 21:44:36 +01:00
nativeBuildInputs = [ extra-cmake-modules kdoctools qttools ];
buildInputs = [
kdeclarative kdelibs4support ki18n kio kwindowsystem plasma-framework
qtdeclarative kcompletion kconfigwidgets kcoreaddons kdbusaddons kiconthemes
kinit kitemviews knotifications kservice kwallet kwidgetsaddons kxmlgui
mobile-broadband-provider-info modemmanager-qt networkmanager-qt openconnect
2017-05-26 21:44:36 +01:00
qca-qt5 solid
];
2016-04-21 17:01:22 +01:00
patches = [
(substituteAll {
src = ./0001-mobile-broadband-provider-info-path.patch;
mobile_broadband_provider_info = mobile-broadband-provider-info;
2016-04-21 17:01:22 +01:00
})
(substituteAll {
src = ./0002-openvpn-binary-path.patch;
inherit openvpn;
})
2016-04-21 17:01:22 +01:00
];
}