nixpkgs/pkgs/applications/misc/latte-dock/default.nix

37 lines
1.1 KiB
Nix
Raw Normal View History

{ mkDerivation, lib, cmake, xorg, plasma-framework, fetchurl
, extra-cmake-modules, karchive, kwindowsystem, qtx11extras, kcrash, knewstuff }:
2017-03-30 19:58:48 +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
src = fetchurl {
url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
2021-08-06 22:43:34 +00:00
sha256 = "04kq86qmrjbzidrkknj000pv1b5z0r7nfidhy2zv67ks8fdi4zln";
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
qtx11extras kcrash knewstuff ];
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;
maintainers = [ maintainers.benley maintainers.ysndr ];
2017-05-16 15:56:41 +00:00
};
2017-03-30 19:58:48 +00:00
}