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

32 lines
1.1 KiB
Nix
Raw Normal View History

{
mkDerivation, 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,
openconnect, openvpn, plasma-framework, qca-qt5, qtdeclarative, qttools, solid
2016-04-21 19:01:22 +03:00
}:
mkDerivation {
2016-04-21 19:01:22 +03:00
name = "plasma-nm";
2017-05-26 23:44:36 +03: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
qca-qt5 solid
];
2016-04-21 19:01:22 +03:00
patches = [
(substituteAll {
src = ./0001-mobile-broadband-provider-info-path.patch;
inherit mobile_broadband_provider_info;
})
(substituteAll {
src = ./0002-openvpn-binary-path.patch;
inherit openvpn;
})
2016-04-21 19:01:22 +03:00
];
}