32 stdenv.mkDerivation rec {
37 url = "mirror://sourceforge/lxde/${pname}-${version}.tar.xz";
38 sha256 = "sha256-HjGPV9fja2HCOlBNA9JDDHja0ULBgERRBh8bPqVEHug=";
49 (if withGtk3 then keybinder3 else keybinder)
50 (if withGtk3 then gtk3 else gtk2)
52 (libfm.override { inherit withGtk3; })
53 (if withGtk3 then libwnck else libwnck2)
64 ] ++ lib.optional supportAlsa alsa-lib;
67 substituteInPlace src/Makefile.in \
68 --replace "@PACKAGE_CFLAGS@" "@PACKAGE_CFLAGS@ -I${gdk-pixbuf-xlib.dev}/include/gdk-pixbuf-2.0"
69 substituteInPlace plugins/Makefile.in \
70 --replace "@PACKAGE_CFLAGS@" "@PACKAGE_CFLAGS@ -I${gdk-pixbuf-xlib.dev}/include/gdk-pixbuf-2.0"
73 configureFlags = lib.optional withGtk3 "--enable-gtk3";
76 description = "Lightweight X11 desktop panel for LXDE";
77 homepage = "https://lxde.org/";
78 license = licenses.gpl2Plus;
79 maintainers = [ maintainers.ryneeverett ];
80 platforms = platforms.linux;