1 { lib, mkDerivation, fetchFromGitLab
2 , cmake, extra-cmake-modules, karchive, kwindowsystem, qtx11extras, kcrash
3 , knewstuff, wayland-scanner
4 , plasma-framework, plasma-wayland-protocols, plasma-workspace, plasma-desktop, qtwayland
10 version = "unstable-2024-01-31";
12 src = fetchFromGitLab {
13 domain = "invent.kde.org";
16 rev = "131ee4d39ce8913b2de8f9a673903225345c7a38";
17 sha256 = "sha256-C1FvgkdxCzny+F6igS2YjsHOpkK34wl6je2tHlGQwU0=";
20 buildInputs = [ plasma-framework plasma-wayland-protocols qtwayland xorg.libpthreadstubs xorg.libXdmcp xorg.libSM wayland plasma-workspace plasma-desktop ];
22 nativeBuildInputs = [ extra-cmake-modules cmake karchive kwindowsystem
23 qtx11extras kcrash knewstuff wayland-scanner ];
26 ./0001-Disable-autostart.patch
30 mkdir -p $out/etc/xdg/autostart
31 cp $out/share/applications/org.kde.latte-dock.desktop $out/etc/xdg/autostart
35 description = "Dock-style app launcher based on Plasma frameworks";
36 mainProgram = "latte-dock";
37 homepage = "https://invent.kde.org/plasma/latte-dock";
38 license = licenses.gpl2;
39 platforms = platforms.unix;
40 maintainers = [ maintainers.ysndr ];