nixpkgs/pkgs/desktops/plasma-5/bluedevil.nix

20 lines
771 B
Nix
Raw Normal View History

2016-07-17 20:42:41 +00:00
{
mkDerivation, extra-cmake-modules, shared_mime_info,
2016-07-17 20:42:41 +00:00
bluez-qt, kcoreaddons, kdbusaddons, kded, ki18n, kiconthemes, kio,
knotifications, kwidgetsaddons, kwindowsystem, plasma-framework, qtdeclarative
2016-04-21 16:01:22 +00:00
}:
mkDerivation {
2016-04-21 16:01:22 +00:00
name = "bluedevil";
nativeBuildInputs = [ extra-cmake-modules shared_mime_info ];
2016-04-21 16:01:22 +00:00
propagatedBuildInputs = [
bluez-qt ki18n kio kwindowsystem plasma-framework qtdeclarative kcoreaddons
kdbusaddons kded kiconthemes knotifications kwidgetsaddons
2016-04-21 16:01:22 +00:00
];
2016-07-17 20:42:41 +00:00
propagatedUserEnvPkgs = [ bluez-qt.out ];
2016-04-21 16:01:22 +00:00
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
'';
}