mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
24 lines
863 B
Nix
24 lines
863 B
Nix
{ plasmaPackage, ecm, bluez-qt, kcoreaddons
|
|
, kdbusaddons, kded, ki18n, kiconthemes, kio, knotifications
|
|
, kwidgetsaddons, kwindowsystem, makeQtWrapper, plasma-framework
|
|
, qtdeclarative, shared_mime_info
|
|
}:
|
|
|
|
plasmaPackage {
|
|
name = "bluedevil";
|
|
nativeBuildInputs = [
|
|
ecm makeQtWrapper shared_mime_info
|
|
];
|
|
propagatedBuildInputs = [
|
|
bluez-qt ki18n kio kwindowsystem plasma-framework qtdeclarative kcoreaddons
|
|
kdbusaddons kded kiconthemes knotifications kwidgetsaddons
|
|
];
|
|
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
|
|
'';
|
|
}
|