summary refs log tree commit diff
path: root/pkgs/desktops/plasma-5/bluedevil.nix
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2017-02-25 13:35:00 -0600
committerThomas Tuegel <ttuegel@mailbox.org>2017-02-27 11:49:12 -0600
commit7f84ad5f4c4a2aac98ebb2f4a37a02915e357939 (patch)
tree2b2777319ca8bd22e5e5797f51ad91df0a5cd0f8 /pkgs/desktops/plasma-5/bluedevil.nix
parent8eb4d2afbc1d61d316073f25f5885a46ccb37ea2 (diff)
downloadnixlib-7f84ad5f4c4a2aac98ebb2f4a37a02915e357939.tar
nixlib-7f84ad5f4c4a2aac98ebb2f4a37a02915e357939.tar.gz
nixlib-7f84ad5f4c4a2aac98ebb2f4a37a02915e357939.tar.bz2
nixlib-7f84ad5f4c4a2aac98ebb2f4a37a02915e357939.tar.lz
nixlib-7f84ad5f4c4a2aac98ebb2f4a37a02915e357939.tar.xz
nixlib-7f84ad5f4c4a2aac98ebb2f4a37a02915e357939.tar.zst
nixlib-7f84ad5f4c4a2aac98ebb2f4a37a02915e357939.zip
plasma5: Move to desktops/plasma-5
Diffstat (limited to 'pkgs/desktops/plasma-5/bluedevil.nix')
-rw-r--r--pkgs/desktops/plasma-5/bluedevil.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/desktops/plasma-5/bluedevil.nix b/pkgs/desktops/plasma-5/bluedevil.nix
new file mode 100644
index 000000000000..1deef241a62f
--- /dev/null
+++ b/pkgs/desktops/plasma-5/bluedevil.nix
@@ -0,0 +1,19 @@
+{
+  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
+  '';
+}