nixpkgs/pkgs/desktops/lxde/core/lxpanel/default.nix
2020-04-10 17:54:53 +01:00

29 lines
921 B
Nix

{ stdenv, fetchurl, pkgconfig, gettext, m4, intltool, libxmlxx, keybinder
, gtk2, libX11, libfm, libwnck, libXmu, libXpm, cairo, gdk-pixbuf
, menu-cache, lxmenu-data, wirelesstools
, supportAlsa ? false, alsaLib
}:
stdenv.mkDerivation rec {
name = "lxpanel-0.9.3";
src = fetchurl {
url = "mirror://sourceforge/lxde/${name}.tar.xz";
sha256 = "1ccgv7jgl3y865cpb6w7baaz7468fxncm83bqxlwyni5bwhglb1l";
};
nativeBuildInputs = [ pkgconfig gettext m4 intltool libxmlxx ];
buildInputs = [
keybinder gtk2 libX11 libfm libwnck libXmu libXpm cairo gdk-pixbuf
menu-cache lxmenu-data m4 wirelesstools
] ++ stdenv.lib.optional supportAlsa alsaLib;
meta = {
description = "Lightweight X11 desktop panel for LXDE";
homepage = "https://lxde.org/";
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.ryneeverett ];
platforms = stdenv.lib.platforms.linux;
};
}