diff options
Diffstat (limited to 'pkgs/desktops/xfce/core/xfce4-panel/default.nix')
-rw-r--r-- | pkgs/desktops/xfce/core/xfce4-panel/default.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/desktops/xfce/core/xfce4-panel/default.nix b/pkgs/desktops/xfce/core/xfce4-panel/default.nix new file mode 100644 index 00000000000..f7e500bdf54 --- /dev/null +++ b/pkgs/desktops/xfce/core/xfce4-panel/default.nix @@ -0,0 +1,29 @@ +{ 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"; + }; +} |