uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
59
pkgs/desktops/xfce/core/xfce4-panel/default.nix
Normal file
59
pkgs/desktops/xfce/core/xfce4-panel/default.nix
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
{ lib
|
||||
, mkXfceDerivation
|
||||
, exo
|
||||
, garcon
|
||||
, glib
|
||||
, gobject-introspection
|
||||
, gtk3
|
||||
, libdbusmenu-gtk3
|
||||
, libwnck
|
||||
, libxfce4ui
|
||||
, libxfce4util
|
||||
, tzdata
|
||||
, vala
|
||||
, xfconf
|
||||
}:
|
||||
|
||||
mkXfceDerivation {
|
||||
category = "xfce";
|
||||
pname = "xfce4-panel";
|
||||
version = "4.16.4";
|
||||
|
||||
sha256 = "sha256-DlGcec5oUPDMzVztADw9fROmBIIO7isZ8gZEMGeDVcA=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
gobject-introspection
|
||||
vala
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
exo
|
||||
garcon
|
||||
libdbusmenu-gtk3
|
||||
libxfce4ui
|
||||
libwnck
|
||||
xfconf
|
||||
tzdata
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
glib
|
||||
gtk3
|
||||
libxfce4util
|
||||
];
|
||||
|
||||
patches = [ ./xfce4-panel-datadir.patch ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace plugins/clock/clock.c \
|
||||
--replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
|
||||
'';
|
||||
|
||||
# Workaround https://bugzilla.xfce.org/show_bug.cgi?id=15825
|
||||
NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Panel for the Xfce desktop environment";
|
||||
maintainers = with maintainers; [ ] ++ teams.xfce.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue