depot/third_party/nixpkgs/pkgs/by-name/gn/gnome-contacts/package.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

77 lines
1.4 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
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,
}:
stdenv.mkDerivation rec {
pname = "gnome-contacts";
version = "46.0";
src = fetchurl {
url = "mirror://gnome/sources/gnome-contacts/${lib.versions.major version}/gnome-contacts-${version}.tar.xz";
hash = "sha256-cK606DWhx3+bzH5XotzCN22TvbYXVxYYJXRF9WxjcN8=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
vala
gettext
libxslt
docbook-xsl-nons
docbook_xml_dtd_42
desktop-file-utils
wrapGAppsHook4
];
buildInputs = [
gtk4
glib
libportal-gtk4
evolution-data-server-gtk4
gsettings-desktop-schemas
folks
libadwaita
libxml2
gnome-online-accounts
qrencode
];
doCheck = true;
passthru = {
updateScript = gnome.updateScript { packageName = "gnome-contacts"; };
};
meta = with lib; {
homepage = "https://apps.gnome.org/Contacts/";
description = "GNOMEs integrated address book";
mainProgram = "gnome-contacts";
maintainers = teams.gnome.members;
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}