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
48
pkgs/desktops/xfce/applications/orage/default.nix
Normal file
48
pkgs/desktops/xfce/applications/orage/default.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{ lib
|
||||
, mkXfceDerivation
|
||||
, dbus-glib
|
||||
, gtk3
|
||||
, libical
|
||||
, libnotify
|
||||
, libxfce4ui
|
||||
, popt
|
||||
, tzdata
|
||||
, xfce4-panel
|
||||
, withPanelPlugin ? true
|
||||
}:
|
||||
|
||||
mkXfceDerivation {
|
||||
category = "apps";
|
||||
pname = "orage";
|
||||
version = "4.16.0";
|
||||
odd-unstable = false;
|
||||
sha256 = "sha256-Q2vTjfhbhG7TrkGeU5oVBB+UvrV5QFtl372wgHU4cxw=";
|
||||
|
||||
buildInputs = [
|
||||
dbus-glib
|
||||
gtk3
|
||||
libical
|
||||
libnotify
|
||||
libxfce4ui
|
||||
popt
|
||||
]
|
||||
++ lib.optionals withPanelPlugin [
|
||||
xfce4-panel
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace src/parameters.c --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
|
||||
substituteInPlace src/tz_zoneinfo_read.c --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
|
||||
substituteInPlace tz_convert/tz_convert.c --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
|
||||
'';
|
||||
|
||||
postConfigure = ''
|
||||
# ensure pkgs.libical is used instead of one included in the orage sources
|
||||
rm -rf libical
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple calendar application for Xfce";
|
||||
maintainers = with maintainers; [ ] ++ teams.xfce.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue