2018-08-09 19:25:44 +00:00
|
|
|
{ mkDerivation, lib, cmake, xorg, plasma-framework, fetchurl
|
|
|
|
, extra-cmake-modules, karchive, kwindowsystem, qtx11extras, kcrash, knewstuff }:
|
2017-03-30 19:58:48 +00:00
|
|
|
|
2018-08-09 19:25:44 +00:00
|
|
|
mkDerivation rec {
|
|
|
|
pname = "latte-dock";
|
2021-08-06 22:43:34 +00:00
|
|
|
version = "0.10.0";
|
2017-03-30 19:58:48 +00:00
|
|
|
|
2018-08-09 19:25:44 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
|
2021-08-06 22:43:34 +00:00
|
|
|
sha256 = "04kq86qmrjbzidrkknj000pv1b5z0r7nfidhy2zv67ks8fdi4zln";
|
2019-08-15 12:41:18 +00:00
|
|
|
name = "${pname}-${version}.tar.xz";
|
2017-05-16 15:56:41 +00:00
|
|
|
};
|
2017-03-30 19:58:48 +00:00
|
|
|
|
2017-09-24 10:10:54 +00:00
|
|
|
buildInputs = [ plasma-framework xorg.libpthreadstubs xorg.libXdmcp xorg.libSM ];
|
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 = [
|
|
|
|
./0001-close-user-autostart.patch
|
|
|
|
];
|
|
|
|
fixupPhase = ''
|
|
|
|
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";
|
2020-03-02 08:51:18 +00:00
|
|
|
homepage = "https://github.com/psifidotos/Latte-Dock";
|
2017-05-16 15:56:41 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
2018-08-09 19:25:44 +00:00
|
|
|
maintainers = [ maintainers.benley 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
|
|
|
}
|