2018-08-09 20:25:44 +01:00
|
|
|
{ mkDerivation, lib, cmake, xorg, plasma-framework, fetchurl
|
|
|
|
, extra-cmake-modules, karchive, kwindowsystem, qtx11extras, kcrash, knewstuff }:
|
2017-03-30 20:58:48 +01:00
|
|
|
|
2018-08-09 20:25:44 +01:00
|
|
|
mkDerivation rec {
|
|
|
|
pname = "latte-dock";
|
2021-12-13 22:46:47 +00:00
|
|
|
version = "0.10.4";
|
2017-03-30 20:58:48 +01:00
|
|
|
|
2018-08-09 20:25:44 +01:00
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
|
2021-12-13 22:46:47 +00:00
|
|
|
sha256 = "XRop+MNcbeCcbnL2LM1i67QvMudW3CjWYEPLkT/qbGM=";
|
2019-08-15 13:41:18 +01:00
|
|
|
name = "${pname}-${version}.tar.xz";
|
2017-05-16 16:56:41 +01:00
|
|
|
};
|
2017-03-30 20:58:48 +01:00
|
|
|
|
2017-09-24 11:10:54 +01:00
|
|
|
buildInputs = [ plasma-framework xorg.libpthreadstubs xorg.libXdmcp xorg.libSM ];
|
2017-03-30 20:58:48 +01:00
|
|
|
|
2017-08-19 09:42:36 +01:00
|
|
|
nativeBuildInputs = [ extra-cmake-modules cmake karchive kwindowsystem
|
2018-08-09 20:25:44 +01:00
|
|
|
qtx11extras kcrash knewstuff ];
|
|
|
|
|
2021-10-04 19:25:59 +01: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 20:58:48 +01:00
|
|
|
|
2017-05-16 16:56:41 +01: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 16:56:41 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.unix;
|
2018-08-09 20:25:44 +01:00
|
|
|
maintainers = [ maintainers.benley maintainers.ysndr ];
|
2017-05-16 16:56:41 +01:00
|
|
|
};
|
2018-08-09 20:25:44 +01:00
|
|
|
|
|
|
|
|
2017-03-30 20:58:48 +01:00
|
|
|
}
|