depot/third_party/nixpkgs/pkgs/desktops/plasma-5/plasma-nm/default.nix
Default email 87f9c27ba9 Project import generated by Copybara.
GitOrigin-RevId: fe2ecaf706a5907b5e54d979fbde4924d84b65fc
2023-04-12 14:48:02 +02:00

78 lines
1.1 KiB
Nix

{ mkDerivation
, substituteAll
, extra-cmake-modules
, kdoctools
, kcmutils
, 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
, qtdeclarative
, qttools
}:
mkDerivation {
pname = "plasma-nm";
nativeBuildInputs = [ extra-cmake-modules kdoctools qttools ];
buildInputs = [
kdeclarative
ki18n
kio
kwindowsystem
plasma-framework
kcompletion
kcmutils
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
];
cmakeFlags = [
"-DBUILD_MOBILE=ON"
];
patches = [
(substituteAll {
src = ./0002-openvpn-binary-path.patch;
inherit openvpn;
})
];
}