nixpkgs/pkgs/desktops/kde-5/plasma-5.5/bluedevil.nix
Vladimír Čunát f306e67e15 kde5: move files around to simplify merge
It is analogous to 98d8e1a160.
2016-03-08 09:42:41 +01:00

27 lines
922 B
Nix

{ plasmaPackage, extra-cmake-modules, bluez-qt, kcoreaddons
, kdbusaddons, kded, ki18n, kiconthemes, kio, knotifications
, kwidgetsaddons, kwindowsystem, makeQtWrapper, plasma-framework
, qtdeclarative, shared_mime_info
}:
plasmaPackage {
name = "bluedevil";
nativeBuildInputs = [
extra-cmake-modules makeQtWrapper shared_mime_info
];
buildInputs = [
kcoreaddons kdbusaddons kded kiconthemes knotifications
kwidgetsaddons
];
propagatedBuildInputs = [
bluez-qt ki18n kio kwindowsystem plasma-framework qtdeclarative
];
propagatedUserEnvPkgs = [ bluez-qt ];
postInstall = ''
wrapQtProgram "$out/bin/bluedevil-wizard"
wrapQtProgram "$out/bin/bluedevil-sendfile"
# Fix the location of logic.js for the plasmoid
ln -s $out/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js $out/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js
'';
}