2021-01-11 07:54:33 +00:00
|
|
|
|
{ lib, stdenv
|
2020-11-17 16:24:48 +00:00
|
|
|
|
, gettext
|
|
|
|
|
, fetchurl
|
|
|
|
|
, evolution-data-server
|
2021-01-17 02:21:50 +00:00
|
|
|
|
, pkg-config
|
2020-11-17 16:24:48 +00:00
|
|
|
|
, libxslt
|
|
|
|
|
, docbook_xsl
|
|
|
|
|
, docbook_xml_dtd_42
|
|
|
|
|
, python3
|
|
|
|
|
, gtk3
|
|
|
|
|
, glib
|
|
|
|
|
, cheese
|
|
|
|
|
, libchamplain
|
|
|
|
|
, clutter-gtk
|
|
|
|
|
, geocode-glib
|
|
|
|
|
, gnome-desktop
|
|
|
|
|
, gnome-online-accounts
|
|
|
|
|
, wrapGAppsHook
|
|
|
|
|
, folks
|
2021-03-21 06:47:42 +00:00
|
|
|
|
, libgdata
|
2020-11-17 16:24:48 +00:00
|
|
|
|
, libxml2
|
2021-05-07 22:18:14 +01:00
|
|
|
|
, gnome
|
2020-11-17 16:24:48 +00:00
|
|
|
|
, vala
|
|
|
|
|
, meson
|
|
|
|
|
, ninja
|
|
|
|
|
, libhandy
|
|
|
|
|
, gsettings-desktop-schemas
|
2020-02-09 00:35:31 +00:00
|
|
|
|
}:
|
2018-03-05 01:49:34 +00:00
|
|
|
|
|
2020-02-09 00:35:31 +00:00
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-13 22:52:01 +01:00
|
|
|
|
pname = "gnome-contacts";
|
2021-03-21 06:47:42 +00:00
|
|
|
|
version = "40.0";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-03-21 06:47:42 +00:00
|
|
|
|
url = "mirror://gnome/sources/gnome-contacts/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
|
|
|
|
sha256 = "0w2g5xhw65adzvwzakrj5kaim4sw1w7s8qqwm3nm6inq50znzpn9";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
};
|
|
|
|
|
|
2020-11-17 16:24:48 +00:00
|
|
|
|
propagatedUserEnvPkgs = [
|
|
|
|
|
evolution-data-server
|
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
2018-03-05 01:49:34 +00:00
|
|
|
|
nativeBuildInputs = [
|
2020-11-17 16:24:48 +00:00
|
|
|
|
meson
|
|
|
|
|
ninja
|
2021-01-17 02:21:50 +00:00
|
|
|
|
pkg-config
|
2020-11-17 16:24:48 +00:00
|
|
|
|
vala
|
|
|
|
|
gettext
|
|
|
|
|
libxslt
|
|
|
|
|
docbook_xsl
|
|
|
|
|
docbook_xml_dtd_42
|
|
|
|
|
python3
|
|
|
|
|
wrapGAppsHook
|
2018-03-05 01:49:34 +00:00
|
|
|
|
];
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
2018-03-05 01:49:34 +00:00
|
|
|
|
buildInputs = [
|
2020-11-17 16:24:48 +00:00
|
|
|
|
gtk3
|
|
|
|
|
glib
|
|
|
|
|
evolution-data-server
|
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
|
folks
|
2021-03-21 06:47:42 +00:00
|
|
|
|
libgdata # required by some dependency transitively
|
2020-11-17 16:24:48 +00:00
|
|
|
|
gnome-desktop
|
|
|
|
|
libhandy
|
|
|
|
|
libxml2
|
|
|
|
|
gnome-online-accounts
|
|
|
|
|
cheese
|
2021-05-07 22:18:14 +01:00
|
|
|
|
gnome.adwaita-icon-theme
|
2020-11-17 16:24:48 +00:00
|
|
|
|
libchamplain
|
|
|
|
|
clutter-gtk
|
|
|
|
|
geocode-glib
|
2019-07-04 13:02:10 +01:00
|
|
|
|
];
|
|
|
|
|
|
2018-03-05 01:49:34 +00:00
|
|
|
|
postPatch = ''
|
2019-03-03 18:22:49 +00:00
|
|
|
|
chmod +x build-aux/meson_post_install.py
|
|
|
|
|
patchShebangs build-aux/meson_post_install.py
|
2016-09-18 20:35:23 +01:00
|
|
|
|
'';
|
|
|
|
|
|
2018-03-05 01:49:34 +00:00
|
|
|
|
doCheck = true;
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
2018-03-05 01:49:34 +00:00
|
|
|
|
passthru = {
|
2021-05-07 22:18:14 +01:00
|
|
|
|
updateScript = gnome.updateScript {
|
2018-03-05 01:49:34 +00:00
|
|
|
|
packageName = "gnome-contacts";
|
2021-05-07 22:18:14 +01:00
|
|
|
|
attrPath = "gnome.gnome-contacts";
|
2018-03-05 01:49:34 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
|
homepage = "https://wiki.gnome.org/Apps/Contacts";
|
2018-03-05 01:49:34 +00:00
|
|
|
|
description = "GNOME’s integrated address book";
|
2020-04-01 13:40:51 +01:00
|
|
|
|
maintainers = teams.gnome.members;
|
2020-11-17 16:24:48 +00:00
|
|
|
|
license = licenses.gpl2Plus;
|
2016-09-18 20:35:23 +01:00
|
|
|
|
platforms = platforms.linux;
|
|
|
|
|
};
|
|
|
|
|
}
|