splice.nix: improve performance with early cut-off
[NixPkgs.git] / pkgs / desktops / xfce / core / xfce4-panel / default.nix
blob3d96f682dbca684c7d007da9e0f8d5f325fc9c18
1 { lib
2 , mkXfceDerivation
3 , exo
4 , garcon
5 , gobject-introspection
6 , gtk3
7 , libdbusmenu-gtk3
8 , libwnck
9 , libxfce4ui
10 , libxfce4util
11 , tzdata
12 , vala
13 , xfconf
16 mkXfceDerivation {
17   category = "xfce";
18   pname = "xfce4-panel";
19   version = "4.18.6";
21   sha256 = "sha256-eQLz/LJIx2WkzcSLytRdJdhtGv0woT48mdqG7eHB0U4=";
23   nativeBuildInputs = [
24     gobject-introspection
25     vala
26   ];
28   buildInputs = [
29     exo
30     garcon
31     libdbusmenu-gtk3
32     libxfce4ui
33     libwnck
34     xfconf
35     tzdata
36   ];
38   propagatedBuildInputs = [
39     gtk3
40     libxfce4util
41   ];
43   patches = [ ./xfce4-panel-datadir.patch ];
45   postPatch = ''
46     substituteInPlace plugins/clock/clock.c \
47        --replace-fail "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
48   '';
50   meta = with lib; {
51     description = "Panel for the Xfce desktop environment";
52     maintainers = with maintainers; [ ] ++ teams.xfce.members;
53   };