30 lines
882 B
Nix
30 lines
882 B
Nix
{ mkXfceDerivation, tzdata, exo, garcon, gtk2, gtk3, glib, gettext, glib-networking, libxfce4ui, libxfce4util, libwnck3, xfconf, gobject-introspection }:
|
|
|
|
mkXfceDerivation {
|
|
category = "xfce";
|
|
pname = "xfce4-panel";
|
|
version = "4.14.0";
|
|
|
|
sha256 = "1v3f2xjz9gwa8maqqvv9w2dh1cgy03v89a9ny7nrv0cjsxwwrr15";
|
|
|
|
nativeBuildInputs = [ gobject-introspection ];
|
|
buildInputs = [ exo garcon gtk2 gtk3 glib glib-networking libxfce4ui libxfce4util libwnck3 xfconf ];
|
|
|
|
patches = [ ./xfce4-panel-datadir.patch ];
|
|
patchFlags = [ "-p1" ];
|
|
|
|
postPatch = ''
|
|
for f in $(find . -name \*.sh); do
|
|
substituteInPlace $f --replace gettext ${gettext}/bin/gettext
|
|
done
|
|
substituteInPlace plugins/clock/clock.c \
|
|
--replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
|
|
'';
|
|
|
|
configureFlags = [ "--enable-gtk3" ];
|
|
|
|
meta = {
|
|
description = "Xfce's panel";
|
|
};
|
|
}
|