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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
1.2 KiB
Nix
Raw Normal View History

{ mkDerivation, lib, cmake, xorg, plasma-framework, plasma-wayland-protocols, fetchFromGitLab
, extra-cmake-modules, karchive, kwindowsystem, qtx11extras, qtwayland, kcrash, knewstuff
2023-04-27 18:49:51 +00:00
, wayland, plasma-workspace, plasma-desktop }:
2017-03-30 19:58:48 +00:00
mkDerivation rec {
pname = "latte-dock";
version = "unstable-2023-03-31";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "plasma";
repo = "latte-dock";
rev = "4f93251d8c635c6150483ecb321eb276f34d4280";
sha256 = "sha256-oEfKfsVIAmYgQ7+WyBEQfVpI4IndWhYXWBsJE8bNNyI=";
2017-05-16 15:56:41 +00:00
};
2017-03-30 19:58:48 +00:00
2023-04-27 18:49:51 +00:00
buildInputs = [ plasma-framework plasma-wayland-protocols qtwayland xorg.libpthreadstubs xorg.libXdmcp xorg.libSM wayland plasma-workspace plasma-desktop ];
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-Disable-autostart.patch
];
postInstall = ''
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";
homepage = "https://invent.kde.org/plasma/latte-dock";
2017-05-16 15:56:41 +00:00
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = [ maintainers.ysndr ];
2017-05-16 15:56:41 +00:00
};
2017-03-30 19:58:48 +00:00
}