2024-09-19 14:19:46 +00:00
|
|
|
|
{
|
|
|
|
|
lib,
|
|
|
|
|
stdenv,
|
|
|
|
|
gettext,
|
|
|
|
|
fetchurl,
|
|
|
|
|
evolution-data-server-gtk4,
|
|
|
|
|
pkg-config,
|
|
|
|
|
libxslt,
|
|
|
|
|
docbook-xsl-nons,
|
|
|
|
|
docbook_xml_dtd_42,
|
|
|
|
|
desktop-file-utils,
|
|
|
|
|
gtk4,
|
|
|
|
|
glib,
|
|
|
|
|
libportal-gtk4,
|
|
|
|
|
gnome-online-accounts,
|
|
|
|
|
qrencode,
|
|
|
|
|
wrapGAppsHook4,
|
|
|
|
|
folks,
|
|
|
|
|
libxml2,
|
|
|
|
|
gnome,
|
|
|
|
|
vala,
|
|
|
|
|
meson,
|
|
|
|
|
ninja,
|
|
|
|
|
libadwaita,
|
|
|
|
|
gsettings-desktop-schemas,
|
2020-04-24 23:36:52 +00:00
|
|
|
|
}:
|
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
pname = "gnome-contacts";
|
2024-05-15 15:35:15 +00:00
|
|
|
|
version = "46.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2024-09-19 14:19:46 +00:00
|
|
|
|
url = "mirror://gnome/sources/gnome-contacts/${lib.versions.major version}/gnome-contacts-${version}.tar.xz";
|
2024-05-15 15:35:15 +00:00
|
|
|
|
hash = "sha256-cK606DWhx3+bzH5XotzCN22TvbYXVxYYJXRF9WxjcN8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2020-11-19 00:13:47 +00:00
|
|
|
|
meson
|
|
|
|
|
ninja
|
2021-02-05 17:12:51 +00:00
|
|
|
|
pkg-config
|
2020-11-19 00:13:47 +00:00
|
|
|
|
vala
|
|
|
|
|
gettext
|
|
|
|
|
libxslt
|
2022-03-30 09:31:56 +00:00
|
|
|
|
docbook-xsl-nons
|
2020-11-19 00:13:47 +00:00
|
|
|
|
docbook_xml_dtd_42
|
2022-03-30 09:31:56 +00:00
|
|
|
|
desktop-file-utils
|
2022-10-21 18:38:19 +00:00
|
|
|
|
wrapGAppsHook4
|
2020-04-24 23:36:52 +00:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
buildInputs = [
|
2022-03-30 09:31:56 +00:00
|
|
|
|
gtk4
|
2020-11-19 00:13:47 +00:00
|
|
|
|
glib
|
2022-10-21 18:38:19 +00:00
|
|
|
|
libportal-gtk4
|
|
|
|
|
evolution-data-server-gtk4
|
2020-11-19 00:13:47 +00:00
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
|
folks
|
2022-03-30 09:31:56 +00:00
|
|
|
|
libadwaita
|
2020-11-19 00:13:47 +00:00
|
|
|
|
libxml2
|
|
|
|
|
gnome-online-accounts
|
2023-04-12 12:48:02 +00:00
|
|
|
|
qrencode
|
2020-04-24 23:36:52 +00:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
|
|
passthru = {
|
2024-09-19 14:19:46 +00:00
|
|
|
|
updateScript = gnome.updateScript { packageName = "gnome-contacts"; };
|
2020-04-24 23:36:52 +00:00
|
|
|
|
};
|
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
|
meta = with lib; {
|
2024-05-15 15:35:15 +00:00
|
|
|
|
homepage = "https://apps.gnome.org/Contacts/";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
description = "GNOME’s integrated address book";
|
2024-04-21 15:54:59 +00:00
|
|
|
|
mainProgram = "gnome-contacts";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
maintainers = teams.gnome.members;
|
2020-11-19 00:13:47 +00:00
|
|
|
|
license = licenses.gpl2Plus;
|
2020-04-24 23:36:52 +00:00
|
|
|
|
platforms = platforms.linux;
|
|
|
|
|
};
|
|
|
|
|
}
|