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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
|
{ lib, stdenv
, intltool
, fetchurl
, webkitgtk
, pkgconfig
, gtk3
, glib
, file
, librsvg
, gnome3
, gdk-pixbuf
, python3
, telepathy-glib
, telepathy-farstream
, clutter-gtk
, clutter-gst
, gst_all_1
, cogl
, gnome-online-accounts
, gcr
, libsecret
, folks
, libpulseaudio
, telepathy-mission-control
, telepathy-logger
, libnotify
, clutter
, libsoup
, gnutls
, evolution-data-server
, yelp-xsl
, libcanberra-gtk3
, p11-kit
, farstream
, libtool
, shared-mime-info
, wrapGAppsHook
, itstool
, libxml2
, libxslt
, icu
, libgee
, gsettings-desktop-schemas
, isocodes
, enchant
, libchamplain
, geoclue2
, geocode-glib
, cheese
, libgudev
}:
stdenv.mkDerivation rec {
pname = "empathy";
version = "3.25.90";
src = fetchurl {
url = "mirror://gnome/sources/empathy/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0sn10fcymc6lyrabk7vx8lpvlaxxkqnmcwj9zdkfa8qf3388k4nc";
};
propagatedBuildInputs = [
(folks.override { telepathySupport = true; })
telepathy-logger
evolution-data-server
telepathy-mission-control
];
nativeBuildInputs = [
pkgconfig
libtool
intltool
itstool
file
wrapGAppsHook
libxml2
libxslt
yelp-xsl
python3
];
buildInputs = [
gtk3
glib
webkitgtk
icu
gnome-online-accounts
telepathy-glib
clutter-gtk
clutter-gst
cogl
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
gcr
libsecret
libpulseaudio
gdk-pixbuf
libnotify
clutter
libsoup
gnutls
libgee
p11-kit
libcanberra-gtk3
telepathy-farstream
farstream
gnome3.adwaita-icon-theme
gsettings-desktop-schemas
librsvg
# Spell-checking
enchant
isocodes
# Display maps, location awareness, geocode support
libchamplain
geoclue2
geocode-glib
# Cheese webcam support, camera monitoring
cheese
libgudev
];
enableParallelBuilding = true;
preFixup = ''
gappsWrapperArgs+=(
--prefix XDG_DATA_DIRS : "${shared-mime-info}/share"
)
'';
passthru = {
updateScript = gnome3.updateScript {
packageName = "empathy";
versionPolicy = "none";
};
};
meta = with lib; {
homepage = "https://wiki.gnome.org/Apps/Empathy";
description = "Messaging program which supports text, voice, video chat, and file transfers over many different protocols";
maintainers = teams.gnome.members;
license = [ licenses.gpl2 ];
platforms = platforms.linux;
};
}
|