2022-09-11 20:39:27 +00:00
|
|
|
{ mkDerivation, lib, cmake, xorg, plasma-framework, plasma-wayland-protocols, fetchFromGitLab
|
|
|
|
, extra-cmake-modules, karchive, kwindowsystem, qtx11extras, qtwayland, kcrash, knewstuff, wayland }:
|
2017-03-30 19:58:48 +00:00
|
|
|
|
2018-08-09 19:25:44 +00:00
|
|
|
mkDerivation rec {
|
|
|
|
pname = "latte-dock";
|
2022-09-11 20:39:27 +00:00
|
|
|
version = "unstable-2022-09-06";
|
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "invent.kde.org";
|
|
|
|
owner = "plasma";
|
|
|
|
repo = "latte-dock";
|
|
|
|
rev = "cd36798a61a37652eb549d7dfcdf06d2028eddc4";
|
|
|
|
sha256 = "sha256-X2PzI2XJje4DpPh7gTtYnMIwerR1IDY53HImvEtFmF4=";
|
2017-05-16 15:56:41 +00:00
|
|
|
};
|
2017-03-30 19:58:48 +00:00
|
|
|
|
2022-09-11 20:39:27 +00:00
|
|
|
buildInputs = [ plasma-framework plasma-wayland-protocols qtwayland xorg.libpthreadstubs xorg.libXdmcp xorg.libSM wayland ];
|
2017-03-30 19:58:48 +00:00
|
|
|
|
2017-08-19 08:42:36 +00:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules cmake karchive kwindowsystem
|
2018-08-09 19:25:44 +00:00
|
|
|
qtx11extras kcrash knewstuff ];
|
|
|
|
|
2021-10-04 18:25:59 +00:00
|
|
|
patches = [
|
2022-09-11 20:39:27 +00:00
|
|
|
./0001-Disable-autostart.patch
|
2021-10-04 18:25:59 +00:00
|
|
|
];
|
2022-09-11 20:39:27 +00:00
|
|
|
|
2022-12-06 19:52:51 +00:00
|
|
|
postInstall = ''
|
2021-10-04 18:25:59 +00:00
|
|
|
mkdir -p $out/etc/xdg/autostart
|
|
|
|
cp $out/share/applications/org.kde.latte-dock.desktop $out/etc/xdg/autostart
|
|
|
|
'';
|
2017-03-30 19:58:48 +00:00
|
|
|
|
2017-05-16 15:56:41 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Dock-style app launcher based on Plasma frameworks";
|
2022-09-11 20:39:27 +00:00
|
|
|
homepage = "https://invent.kde.org/plasma/latte-dock";
|
2017-05-16 15:56:41 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
2022-09-16 16:41:53 +00:00
|
|
|
maintainers = [ maintainers.ysndr ];
|
2017-05-16 15:56:41 +00:00
|
|
|
};
|
2018-08-09 19:25:44 +00:00
|
|
|
|
|
|
|
|
2017-03-30 19:58:48 +00:00
|
|
|
}
|