depot/third_party/nixpkgs/pkgs/applications/misc/latte-dock/default.nix
Default email c594a97518 Project import generated by Copybara.
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
2022-10-21 20:38:19 +02:00

39 lines
1.2 KiB
Nix

{ mkDerivation, lib, cmake, xorg, plasma-framework, plasma-wayland-protocols, fetchFromGitLab
, extra-cmake-modules, karchive, kwindowsystem, qtx11extras, qtwayland, kcrash, knewstuff, wayland }:
mkDerivation rec {
pname = "latte-dock";
version = "unstable-2022-09-06";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "plasma";
repo = "latte-dock";
rev = "cd36798a61a37652eb549d7dfcdf06d2028eddc4";
sha256 = "sha256-X2PzI2XJje4DpPh7gTtYnMIwerR1IDY53HImvEtFmF4=";
};
buildInputs = [ plasma-framework plasma-wayland-protocols qtwayland xorg.libpthreadstubs xorg.libXdmcp xorg.libSM wayland ];
nativeBuildInputs = [ extra-cmake-modules cmake karchive kwindowsystem
qtx11extras kcrash knewstuff ];
patches = [
./0001-Disable-autostart.patch
];
fixupPhase = ''
mkdir -p $out/etc/xdg/autostart
cp $out/share/applications/org.kde.latte-dock.desktop $out/etc/xdg/autostart
'';
meta = with lib; {
description = "Dock-style app launcher based on Plasma frameworks";
homepage = "https://invent.kde.org/plasma/latte-dock";
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = [ maintainers.ysndr ];
};
}