26 , gsettings-desktop-schemas
30 stdenv.mkDerivation rec {
35 url = "mirror://gnome/sources/seahorse/${lib.versions.major version}/seahorse-${version}.tar.xz";
36 hash = "sha256-nBkX5KYff+u3h4Sc42znF/znBsNGiAuZHQVtVNrbysw=";
58 gsettings-desktop-schemas
72 patchShebangs build-aux/gpg_check_version.py
75 env = lib.optionalAttrs (stdenv.cc.isGNU && (lib.versionAtLeast (lib.getVersion stdenv.cc.cc) "14")) {
76 NIX_CFLAGS_COMPILE = toString [
77 "-Wno-error=implicit-function-declaration"
78 "-Wno-error=int-conversion"
79 "-Wno-error=return-mismatch"
84 # Add “org.gnome.crypto.pgp” GSettings schema to path
85 # to make it available for “gpgme-backend” test.
86 # It is used by Seahorse’s internal “common” library.
87 addToSearchPath XDG_DATA_DIRS "${glib.getSchemaDataDirPath gcr}"
88 # The same test also requires home directory so that it can store settings.
94 # Pick up icons from Gcr
95 --prefix XDG_DATA_DIRS : "${gcr}/share"
100 updateScript = gnome.updateScript {
101 packageName = "seahorse";
106 homepage = "https://gitlab.gnome.org/GNOME/seahorse";
107 description = "Application for managing encryption keys and passwords in the GnomeKeyring";
108 mainProgram = "seahorse";
109 maintainers = teams.gnome.members;
110 license = licenses.gpl2Plus;
111 platforms = platforms.linux;