1 { mkDerivation, lib, cmake, xorg, plasma-framework, plasma-wayland-protocols, fetchFromGitLab
2 , extra-cmake-modules, karchive, kwindowsystem, qtx11extras, qtwayland, kcrash, knewstuff
3 , wayland, plasma-workspace, plasma-desktop }:
7 version = "unstable-2023-03-31";
9 src = fetchFromGitLab {
10 domain = "invent.kde.org";
13 rev = "4f93251d8c635c6150483ecb321eb276f34d4280";
14 sha256 = "sha256-oEfKfsVIAmYgQ7+WyBEQfVpI4IndWhYXWBsJE8bNNyI=";
17 buildInputs = [ plasma-framework plasma-wayland-protocols qtwayland xorg.libpthreadstubs xorg.libXdmcp xorg.libSM wayland plasma-workspace plasma-desktop ];
19 nativeBuildInputs = [ extra-cmake-modules cmake karchive kwindowsystem
20 qtx11extras kcrash knewstuff ];
23 ./0001-Disable-autostart.patch
27 mkdir -p $out/etc/xdg/autostart
28 cp $out/share/applications/org.kde.latte-dock.desktop $out/etc/xdg/autostart
32 description = "Dock-style app launcher based on Plasma frameworks";
33 homepage = "https://invent.kde.org/plasma/latte-dock";
34 license = licenses.gpl2;
35 platforms = platforms.unix;
36 maintainers = [ maintainers.ysndr ];