27 gsettings-desktop-schemas,
31 stdenv.mkDerivation rec {
36 url = "mirror://gnome/sources/seahorse/${lib.versions.major version}/seahorse-${version}.tar.xz";
37 hash = "sha256-nBkX5KYff+u3h4Sc42znF/znBsNGiAuZHQVtVNrbysw=";
59 gsettings-desktop-schemas
73 patchShebangs build-aux/gpg_check_version.py
77 lib.optionalAttrs (stdenv.cc.isGNU && (lib.versionAtLeast (lib.getVersion stdenv.cc.cc) "14"))
79 NIX_CFLAGS_COMPILE = toString [
80 "-Wno-error=implicit-function-declaration"
81 "-Wno-error=int-conversion"
82 "-Wno-error=return-mismatch"
87 # Add “org.gnome.crypto.pgp” GSettings schema to path
88 # to make it available for “gpgme-backend” test.
89 # It is used by Seahorse’s internal “common” library.
90 addToSearchPath XDG_DATA_DIRS "${glib.getSchemaDataDirPath gcr}"
91 # The same test also requires home directory so that it can store settings.
97 # Pick up icons from Gcr
98 --prefix XDG_DATA_DIRS : "${gcr}/share"
103 updateScript = gnome.updateScript {
104 packageName = "seahorse";
109 homepage = "https://gitlab.gnome.org/GNOME/seahorse";
110 description = "Application for managing encryption keys and passwords in the GnomeKeyring";
111 mainProgram = "seahorse";
112 maintainers = teams.gnome.members;
113 license = licenses.gpl2Plus;
114 platforms = platforms.linux;