2020-12-28 21:17:56 +00:00
|
|
|
{ mkXfceDerivation
|
|
|
|
, exo
|
|
|
|
, garcon
|
|
|
|
, glib
|
|
|
|
, gobject-introspection
|
|
|
|
, gtk3
|
|
|
|
, libdbusmenu-gtk3
|
2021-06-23 19:22:04 +01:00
|
|
|
, libwnck
|
2020-12-28 21:17:56 +00:00
|
|
|
, libxfce4ui
|
|
|
|
, libxfce4util
|
|
|
|
, tzdata
|
|
|
|
, vala
|
|
|
|
, xfconf
|
|
|
|
}:
|
2017-12-17 15:02:52 +00:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
mkXfceDerivation {
|
2017-12-17 15:02:52 +00:00
|
|
|
category = "xfce";
|
|
|
|
pname = "xfce4-panel";
|
2021-05-06 14:05:38 +01:00
|
|
|
version = "4.16.3";
|
2017-12-17 15:02:52 +00:00
|
|
|
|
2021-06-17 01:20:52 +01:00
|
|
|
sha256 = "sha256-PdE64WKdluKfof/l1wTPi7JdpJMYWIvi0yIdpyntsCA=";
|
2017-12-17 15:02:52 +00:00
|
|
|
|
2020-12-28 21:17:56 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
gobject-introspection
|
|
|
|
vala
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
exo
|
|
|
|
garcon
|
|
|
|
libdbusmenu-gtk3
|
|
|
|
libxfce4ui
|
2021-06-23 19:22:04 +01:00
|
|
|
libwnck
|
2020-12-28 21:17:56 +00:00
|
|
|
xfconf
|
|
|
|
tzdata
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
glib
|
|
|
|
gtk3
|
|
|
|
libxfce4util
|
|
|
|
];
|
2017-12-17 15:02:52 +00:00
|
|
|
|
2019-11-04 21:27:22 +00:00
|
|
|
patches = [ ./xfce4-panel-datadir.patch ];
|
2018-07-18 00:05:54 +01:00
|
|
|
|
|
|
|
postPatch = ''
|
2018-08-02 13:08:44 +01:00
|
|
|
substituteInPlace plugins/clock/clock.c \
|
2019-08-17 05:04:35 +01:00
|
|
|
--replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
|
2018-07-18 00:05:54 +01:00
|
|
|
'';
|
|
|
|
|
2020-12-28 21:17:56 +00:00
|
|
|
# Workaround https://bugzilla.xfce.org/show_bug.cgi?id=15825
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
2018-07-18 00:05:54 +01:00
|
|
|
|
2020-12-28 21:17:56 +00:00
|
|
|
meta = {
|
2021-05-06 14:05:38 +01:00
|
|
|
description = "Panel for the Xfce desktop environment";
|
2017-12-17 15:02:52 +00:00
|
|
|
};
|
|
|
|
}
|