nixpkgs/pkgs/desktops/xfce/core/xfce4-panel/default.nix

58 lines
945 B
Nix
Raw Normal View History

2020-12-28 21:17:56 +00:00
{ mkXfceDerivation
, exo
, garcon
, glib
, gobject-introspection
, gtk3
, libdbusmenu-gtk3
2021-06-23 18:22:04 +00: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 21:52:01 +00:00
mkXfceDerivation {
2017-12-17 15:02:52 +00:00
category = "xfce";
pname = "xfce4-panel";
2021-05-06 13:05:38 +00:00
version = "4.16.3";
2017-12-17 15:02:52 +00: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 18:22:04 +00:00
libwnck
2020-12-28 21:17:56 +00:00
xfconf
tzdata
];
propagatedBuildInputs = [
glib
gtk3
libxfce4util
];
2017-12-17 15:02:52 +00:00
patches = [ ./xfce4-panel-datadir.patch ];
postPatch = ''
substituteInPlace plugins/clock/clock.c \
--replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
'';
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";
2020-12-28 21:17:56 +00:00
meta = {
2021-05-06 13:05:38 +00:00
description = "Panel for the Xfce desktop environment";
2017-12-17 15:02:52 +00:00
};
}