Files
nixpkgs/pkgs/by-name/lx/lxpanel/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

85 lines
1.4 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
gettext,
m4,
intltool,
libxmlxx,
keybinder,
keybinder3,
gtk2-x11,
gtk3,
libX11,
libfm,
libwnck,
libwnck2,
libXmu,
libXpm,
cairo,
gdk-pixbuf,
gdk-pixbuf-xlib,
menu-cache,
lxmenu-data,
wirelesstools,
curl,
supportAlsa ? false,
alsa-lib,
withGtk3 ? true,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "lxpanel";
version = "0.11.1";
src = fetchFromGitHub {
owner = "lxde";
repo = "lxpanel";
tag = finalAttrs.version;
hash = "sha256-jpe5AfRkyTVKQ9biOJiWKv0OVqP8gRCzfhSLDjnrEPc=";
};
enableParallelBuilding = true;
nativeBuildInputs = [
autoreconfHook
pkg-config
gettext
m4
intltool
libxmlxx
];
buildInputs = [
(if withGtk3 then keybinder3 else keybinder)
(if withGtk3 then gtk3 else gtk2-x11)
libX11
(libfm.override { inherit withGtk3; })
(if withGtk3 then libwnck else libwnck2)
libXmu
libXpm
cairo
gdk-pixbuf
gdk-pixbuf-xlib.dev
menu-cache
lxmenu-data
m4
wirelesstools
curl
]
++ lib.optional supportAlsa alsa-lib;
configureFlags = lib.optional withGtk3 "--enable-gtk3";
meta = {
description = "Lightweight X11 desktop panel for LXDE";
homepage = "https://lxde.org/";
license = lib.licenses.gpl2Plus;
maintainers = [ lib.maintainers.ryneeverett ];
platforms = lib.platforms.linux;
mainProgram = "lxpanel";
};
})