nixpkgs/pkgs/desktops/plasma-5/xdg-desktop-portal-kde.nix
Lijun Chen 50e860b91e xdg-desktop-portal-kde: fix missing runtime dependency
`plasma-workspace` is required when `xdg-desktop-portal-kde` needs to
open an application picker to let the user pick the application to use to
open a certain file (when no existing default is available).
If `plasma-workspace` is not available the `xdg-desktop-portal-kde` service
logs an error and nothing else happens (the application picker is not opened).

See https://github.com/NixOS/nixpkgs/issues/160923#issuecomment-1474989176
2023-03-25 10:39:10 +01:00

52 lines
748 B
Nix

{ mkDerivation
, lib
, extra-cmake-modules
, gettext
, kdoctools
, cups
, libepoxy
, mesa
, pcre
, pipewire
, wayland
, wayland-protocols
, kcoreaddons
, knotifications
, kwayland
, kwidgetsaddons
, kwindowsystem
, kirigami2
, kdeclarative
, plasma-framework
, plasma-wayland-protocols
, plasma-workspace
, kio
, qtbase
}:
mkDerivation {
pname = "xdg-desktop-portal-kde";
nativeBuildInputs = [ extra-cmake-modules gettext kdoctools ];
buildInputs = [
cups
libepoxy
mesa
pcre
pipewire
wayland
wayland-protocols
kio
kcoreaddons
knotifications
kwayland
kwidgetsaddons
kwindowsystem
kirigami2
kdeclarative
plasma-framework
plasma-wayland-protocols
plasma-workspace
];
}