nixpkgs-suyu/pkgs/desktops/lxqt/lxqt-panel/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

84 lines
1.3 KiB
Nix

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkg-config
, alsa-lib
, kguiaddons
, kwindowsystem
, libXdamage
, libdbusmenu
, liblxqt
, libpulseaudio
, libqtxdg
, libstatgrab
, libsysstat
, lm_sensors
, lxqt-build-tools
, lxqt-globalkeys
, lxqt-menu-data
, gitUpdater
, menu-cache
, pcre
, qtbase
, qtsvg
, qttools
, qtx11extras
, solid
, xorg
}:
mkDerivation rec {
pname = "lxqt-panel";
version = "1.4.0";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
hash = "sha256-LQq1XOA0dGXXORVr2H/gI+axvCAd4P3nB4zCFYWgagc=";
};
nativeBuildInputs = [
cmake
pkg-config
lxqt-build-tools
qttools
];
buildInputs = [
alsa-lib
kguiaddons
kwindowsystem
libXdamage
libdbusmenu
liblxqt
libpulseaudio
libqtxdg
libstatgrab
libsysstat
lm_sensors
lxqt-globalkeys
lxqt-menu-data
menu-cache
pcre
qtbase
qtsvg
qtx11extras
solid
xorg.libXdmcp
xorg.libXtst
xorg.libpthreadstubs
];
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;
};
}