nixpkgs/pkgs/desktops/xfce/applications/orage/default.nix
stuebinm ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00

37 lines
729 B
Nix

{ lib
, mkXfceDerivation
, gtk3
, libical
, libnotify
, libxfce4ui
, popt
, tzdata
}:
mkXfceDerivation {
category = "apps";
pname = "orage";
version = "4.18.0";
sha256 = "sha256-vL9zexPbQKPqIzK5UqUIxkE9I7hEupkDOJehMgj2Leo=";
buildInputs = [
gtk3
libical
libnotify
libxfce4ui
popt
];
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"
'';
meta = with lib; {
description = "Simple calendar application for Xfce";
mainProgram = "orage";
maintainers = with maintainers; [ ] ++ teams.xfce.members;
};
}