Skip to content

Commit

Permalink
Add default.nix for fun and profit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lana Black committed Oct 29, 2023
1 parent 66e5271 commit f9727cd
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#**CHANGELOG**#

#### Version 0.10.X (current development build)
* optionally maximise panel size in presence of maximised windows (https://invent.kde.org/plasma/latte-dock/-/merge_requests/46)

#### Version 0.10.8
* multi-screen: fix docks/panels screen repositioning when the user specifies different screen for dock or panel
* fix borders identification for autopositioning vertical docks/panels
Expand Down
28 changes: 28 additions & 0 deletions default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,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 = [ ];
};
}

0 comments on commit f9727cd

Please sign in to comment.