about summary refs log tree commit diff
path: root/nixpkgs/pkgs/desktops/xfce/applications/orage/default.nix
blob: 130eb8464aeb26081482b9d38b708708b79c338c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ 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;
  };
}