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