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

83 lines
1.3 KiB
Nix
Raw Normal View History

{ lib
, mkDerivation
, fetchFromGitHub
, cmake
, pkg-config
, alsaLib
, kguiaddons
, kwindowsystem
, libXdamage
, libdbusmenu
, liblxqt
, libpulseaudio
, libqtxdg
, libstatgrab
, libsysstat
, lm_sensors
, lxmenu-data
, lxqt-build-tools
, lxqt-globalkeys
, lxqtUpdateScript
, menu-cache
, pcre
, qtbase
, qtsvg
, qttools
, qtx11extras
, solid
, xorg
}:
mkDerivation rec {
pname = "lxqt-panel";
version = "0.16.1";
src = fetchFromGitHub {
owner = "lxqt";
repo = pname;
rev = version;
sha256 = "1mm23fys5npm5fi47y3h2mzvlhlcaz7k1p4wwmc012f0hqcrvqik";
};
nativeBuildInputs = [
cmake
pkg-config
lxqt-build-tools
];
buildInputs = [
alsaLib
kguiaddons
kwindowsystem
libXdamage
libdbusmenu
liblxqt
libpulseaudio
libqtxdg
libstatgrab
libsysstat
lm_sensors
lxmenu-data
lxqt-globalkeys
menu-cache
pcre
qtbase
qtsvg
qttools
qtx11extras
solid
xorg.libXdmcp
xorg.libpthreadstubs
];
passthru.updateScript = lxqtUpdateScript { inherit pname version src; };
meta = with lib; {
homepage = "https://github.com/lxqt/lxqt-panel";
description = "The LXQt desktop panel";
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ romildo ];
};
}