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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
{
stdenv,
lib,
fetchFromGitLab,
gettext,
pkg-config,
xfce4-dev-tools,
wrapGAppsHook3,
glib,
gtk3,
libical,
libnotify,
libxfce4ui,
libxfce4util,
tzdata,
gitUpdater,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "orage";
version = "4.20.3";
src = fetchFromGitLab {
domain = "gitlab.xfce.org";
owner = "apps";
repo = "orage";
tag = "orage-${finalAttrs.version}";
hash = "sha256-0C0vuWvYSBMfyHTQBvfx/Olvg1SjEs9vuT8EOE8Ng70=";
};
nativeBuildInputs = [
gettext
pkg-config
xfce4-dev-tools
wrapGAppsHook3
];
buildInputs = [
glib
gtk3
libical
libnotify
libxfce4ui
libxfce4util
];
postPatch = ''
substituteInPlace src/parameters.c --replace-fail "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
substituteInPlace src/tz_zoneinfo_read.c --replace-fail "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
'';
configureFlags = [ "--enable-maintainer-mode" ];
enableParallelBuilding = true;
passthru.updateScript = gitUpdater {
rev-prefix = "orage-";
odd-unstable = true;
};
meta = {
description = "Simple calendar application for Xfce";
homepage = "https://gitlab.xfce.org/apps/orage";
license = lib.licenses.gpl2Plus;
mainProgram = "orage";
platforms = lib.platforms.linux;
teams = [ lib.teams.xfce ];
};
})
|