mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 01:20:40 +00:00
c8885106c1
- Update from Plasma 5.7.0 to 5.7.1. - Remove the version number from the directory storing the Plasma Nix expressions. It is not necessary to version the Nix expressions now that we keep only one version in Nixpkgs. - Fix a bug in generate-kde-plasma.sh which prevented it from finding its helper script. - Automatically redirect the output of generate-kde-plasma.sh to make the update script even easier to use.
24 lines
895 B
Nix
24 lines
895 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
|
|
];
|
|
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
|
|
'';
|
|
}
|