nixpkgs-suyu/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 21:58:48 +02:00
mkDerivation rec {
pname = "latte-dock";
2021-12-13 23:46:47 +01:00
version = "0.10.4";
2017-03-30 21:58:48 +02:00
src = fetchurl {
url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
2021-12-13 23:46:47 +01:00
sha256 = "XRop+MNcbeCcbnL2LM1i67QvMudW3CjWYEPLkT/qbGM=";
name = "${pname}-${version}.tar.xz";
2017-05-16 17:56:41 +02:00
};
2017-03-30 21:58:48 +02:00
2017-09-24 12:10:54 +02:00
buildInputs = [ plasma-framework xorg.libpthreadstubs xorg.libXdmcp xorg.libSM ];
2017-03-30 21:58:48 +02:00
2017-08-19 10:42:36 +02: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 21:58:48 +02:00
2017-05-16 17:56:41 +02:00
meta = with lib; {
description = "Dock-style app launcher based on Plasma frameworks";
2020-03-02 09:51:18 +01:00
homepage = "https://github.com/psifidotos/Latte-Dock";
2017-05-16 17:56:41 +02:00
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = [ maintainers.benley maintainers.ysndr ];
2017-05-16 17:56:41 +02:00
};
2017-03-30 21:58:48 +02:00
}