2022-10-21 18:38:19 +00:00
|
|
|
{ mkDerivation, lib, cmake, xorg, plasma-framework, plasma-wayland-protocols, fetchFromGitLab
|
|
|
|
, extra-cmake-modules, karchive, kwindowsystem, qtx11extras, qtwayland, kcrash, knewstuff, wayland }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "latte-dock";
|
2022-10-21 18:38:19 +00:00
|
|
|
version = "unstable-2022-09-06";
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "invent.kde.org";
|
|
|
|
owner = "plasma";
|
|
|
|
repo = "latte-dock";
|
|
|
|
rev = "cd36798a61a37652eb549d7dfcdf06d2028eddc4";
|
|
|
|
sha256 = "sha256-X2PzI2XJje4DpPh7gTtYnMIwerR1IDY53HImvEtFmF4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
buildInputs = [ plasma-framework plasma-wayland-protocols qtwayland xorg.libpthreadstubs xorg.libXdmcp xorg.libSM wayland ];
|
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
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
}
|