26 , supportAlsa ? false, alsa-lib
30 stdenv.mkDerivation rec {
35 url = "mirror://sourceforge/lxde/${pname}-${version}.tar.xz";
36 sha256 = "sha256-HjGPV9fja2HCOlBNA9JDDHja0ULBgERRBh8bPqVEHug=";
39 nativeBuildInputs = [ pkg-config gettext m4 intltool libxmlxx ];
41 (if withGtk3 then keybinder3 else keybinder)
42 (if withGtk3 then gtk3 else gtk2)
44 (libfm.override { inherit withGtk3; })
45 (if withGtk3 then libwnck else libwnck2)
56 ] ++ lib.optional supportAlsa alsa-lib;
59 substituteInPlace src/Makefile.in \
60 --replace "@PACKAGE_CFLAGS@" "@PACKAGE_CFLAGS@ -I${gdk-pixbuf-xlib.dev}/include/gdk-pixbuf-2.0"
61 substituteInPlace plugins/Makefile.in \
62 --replace "@PACKAGE_CFLAGS@" "@PACKAGE_CFLAGS@ -I${gdk-pixbuf-xlib.dev}/include/gdk-pixbuf-2.0"
65 configureFlags = lib.optional withGtk3 "--enable-gtk3";
68 description = "Lightweight X11 desktop panel for LXDE";
69 homepage = "https://lxde.org/";
70 license = licenses.gpl2Plus;
71 maintainers = [ maintainers.ryneeverett ];
72 platforms = platforms.linux;