2022-10-21 18:38:19 +00:00
|
|
|
{ mkDerivation, lib, cmake, xorg, plasma-framework, plasma-wayland-protocols, fetchFromGitLab
|
2023-04-12 12:48:02 +00:00
|
|
|
, extra-cmake-modules, karchive, kwindowsystem, qtx11extras, qtwayland, kcrash, knewstuff
|
2023-05-24 13:37:59 +00:00
|
|
|
, wayland, plasma-workspace, plasma-desktop }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "latte-dock";
|
2023-04-12 12:48:02 +00:00
|
|
|
version = "unstable-2023-03-31";
|
2022-10-21 18:38:19 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "invent.kde.org";
|
|
|
|
owner = "plasma";
|
|
|
|
repo = "latte-dock";
|
2023-04-12 12:48:02 +00:00
|
|
|
rev = "4f93251d8c635c6150483ecb321eb276f34d4280";
|
|
|
|
sha256 = "sha256-oEfKfsVIAmYgQ7+WyBEQfVpI4IndWhYXWBsJE8bNNyI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
buildInputs = [ plasma-framework plasma-wayland-protocols qtwayland xorg.libpthreadstubs xorg.libXdmcp xorg.libSM wayland plasma-workspace plasma-desktop ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules cmake karchive kwindowsystem
|
|
|
|
qtx11extras kcrash knewstuff ];
|
|
|
|
|
2021-10-06 13:57:05 +00:00
|
|
|
patches = [
|
2022-10-21 18:38:19 +00:00
|
|
|
./0001-Disable-autostart.patch
|
2021-10-06 13:57:05 +00:00
|
|
|
];
|
2022-10-21 18:38:19 +00:00
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
postInstall = ''
|
2021-10-06 13:57:05 +00:00
|
|
|
mkdir -p $out/etc/xdg/autostart
|
|
|
|
cp $out/share/applications/org.kde.latte-dock.desktop $out/etc/xdg/autostart
|
|
|
|
'';
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Dock-style app launcher based on Plasma frameworks";
|
2022-10-21 18:38:19 +00:00
|
|
|
homepage = "https://invent.kde.org/plasma/latte-dock";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
2022-09-22 12:36:57 +00:00
|
|
|
maintainers = [ maintainers.ysndr ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
}
|