depot/third_party/nixpkgs/pkgs/desktops/lxqt/lxqt-panel/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

92 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.0.1";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
hash = "sha256-m+LUG7hnkIJj48HJIy6pMyv3YZ/RfuSXbdBKJ9mi764=";
};
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 = "The LXQt desktop panel";
mainProgram = "lxqt-panel";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = teams.lxqt.members;
};
}