-
-
Notifications
You must be signed in to change notification settings - Fork 88
/
default.nix
28 lines (22 loc) · 894 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ pkgs ? import <nixpkgs> {} }:
let
inherit (pkgs) stdenv libsForQt5;
in
stdenv.mkDerivation {
pname = "latte-dock";
version = "unstable-9999";
src = ./.;
buildInputs = with pkgs; with libsForQt5; [ plasma-framework plasma-wayland-protocols qtwayland xorg.libpthreadstubs xorg.libXdmcp xorg.libSM wayland plasma-workspace plasma-desktop ];
nativeBuildInputs = with pkgs; with libsForQt5; [ extra-cmake-modules cmake karchive kwindowsystem qtx11extras kcrash knewstuff wrapQtAppsHook ];
postInstall = ''
mkdir -p $out/etc/xdg/autostart
cp $out/share/applications/org.kde.latte-dock.desktop $out/etc/xdg/autostart
'';
meta = with pkgs.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 = [ ];
};
}