depot/third_party/nixpkgs/pkgs/desktops/lxqt/lxqt-panel/default.nix

93 lines
1.4 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
cmake,
pkg-config,
alsa-lib,
libdbusmenu-lxqt,
kguiaddons,
kwindowsystem,
layer-shell-qt,
libXdamage,
libXdmcp,
libXtst,
libdbusmenu,
liblxqt,
libpthreadstubs,
libpulseaudio,
libqtxdg,
libstatgrab,
libsysstat,
lm_sensors,
lxqt-build-tools,
lxqt-globalkeys,
lxqt-menu-data,
menu-cache,
pcre,
qtbase,
qtsvg,
qttools,
qtwayland,
solid,
wrapQtAppsHook,
gitUpdater,
}:
stdenv.mkDerivation rec {
pname = "lxqt-panel";
version = "2.1.3";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
hash = "sha256-p4Y+0Ym0NNG4yrlfrLqCQyMYVjyogNb1V1QAooQ82LE=";
};
nativeBuildInputs = [
cmake
pkg-config
lxqt-build-tools
qttools
wrapQtAppsHook
];
buildInputs = [
alsa-lib
libdbusmenu-lxqt
kguiaddons
kwindowsystem
layer-shell-qt
libXdamage
libXdmcp
libXtst
libdbusmenu
liblxqt
libpthreadstubs
libpulseaudio
libqtxdg
libstatgrab
libsysstat
lm_sensors
lxqt-globalkeys
lxqt-menu-data
menu-cache
pcre
qtbase
qtsvg
qtwayland
solid
];
passthru.updateScript = gitUpdater { };
meta = with lib; {
homepage = "https://github.com/lxqt/lxqt-panel";
description = "LXQt desktop panel";
mainProgram = "lxqt-panel";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = teams.lxqt.members;
};
}