nixpkgs/pkgs/desktops/kde-5/plasma/bluedevil.nix
2016-07-30 14:16:46 -05:00

19 lines
741 B
Nix

{
plasmaPackage, ecm, shared_mime_info,
bluez-qt, kcoreaddons, kdbusaddons, kded, ki18n, kiconthemes, kio,
knotifications, kwidgetsaddons, kwindowsystem, plasma-framework, qtdeclarative
}:
plasmaPackage {
name = "bluedevil";
nativeBuildInputs = [ ecm shared_mime_info ];
propagatedBuildInputs = [
bluez-qt ki18n kio kwindowsystem plasma-framework qtdeclarative kcoreaddons
kdbusaddons kded kiconthemes knotifications kwidgetsaddons
];
propagatedUserEnvPkgs = [ bluez-qt.out ];
postInstall = ''
# 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
'';
}