2021-01-11 07:54:33 +00:00
|
|
|
|
{ lib, stdenv
|
2019-10-03 21:13:51 +00:00
|
|
|
|
, fetchurl
|
|
|
|
|
, vala
|
|
|
|
|
, meson
|
|
|
|
|
, ninja
|
|
|
|
|
, libpwquality
|
2021-01-17 02:21:50 +00:00
|
|
|
|
, pkg-config
|
2019-10-03 21:13:51 +00:00
|
|
|
|
, gtk3
|
|
|
|
|
, glib
|
2021-07-26 15:41:07 +00:00
|
|
|
|
, glib-networking
|
2019-10-03 21:13:51 +00:00
|
|
|
|
, wrapGAppsHook
|
|
|
|
|
, itstool
|
|
|
|
|
, gnupg
|
|
|
|
|
, libsoup
|
2021-05-07 21:18:14 +00:00
|
|
|
|
, gnome
|
2019-10-03 21:13:51 +00:00
|
|
|
|
, gpgme
|
|
|
|
|
, python3
|
|
|
|
|
, openldap
|
|
|
|
|
, gcr
|
|
|
|
|
, libsecret
|
|
|
|
|
, avahi
|
|
|
|
|
, p11-kit
|
|
|
|
|
, openssh
|
|
|
|
|
, gsettings-desktop-schemas
|
2020-11-17 14:28:53 +00:00
|
|
|
|
, libhandy
|
2019-10-03 21:13:51 +00:00
|
|
|
|
}:
|
2016-09-18 19:35:23 +00:00
|
|
|
|
|
2018-12-12 18:55:47 +00:00
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-22 18:52:39 +00:00
|
|
|
|
pname = "seahorse";
|
2021-10-01 23:08:17 +00:00
|
|
|
|
version = "41.0";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2021-03-21 01:16:18 +00:00
|
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
|
2021-10-01 23:08:17 +00:00
|
|
|
|
hash = "sha256-5u7AnoEESClfVH8YwdV3K2XD7cHZ5aJZXxC13eaJKfU=";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
};
|
|
|
|
|
|
2018-09-05 00:52:16 +00:00
|
|
|
|
nativeBuildInputs = [
|
2019-10-03 21:13:51 +00:00
|
|
|
|
meson
|
|
|
|
|
ninja
|
2021-01-17 02:21:50 +00:00
|
|
|
|
pkg-config
|
2019-10-03 21:13:51 +00:00
|
|
|
|
vala
|
|
|
|
|
itstool
|
|
|
|
|
wrapGAppsHook
|
|
|
|
|
python3
|
2018-09-05 00:52:16 +00:00
|
|
|
|
];
|
2019-10-03 21:13:51 +00:00
|
|
|
|
|
2018-03-22 18:52:39 +00:00
|
|
|
|
buildInputs = [
|
2019-10-03 21:13:51 +00:00
|
|
|
|
gtk3
|
|
|
|
|
glib
|
2021-07-26 15:41:07 +00:00
|
|
|
|
glib-networking
|
2019-10-03 21:13:51 +00:00
|
|
|
|
gcr
|
|
|
|
|
gsettings-desktop-schemas
|
|
|
|
|
gnupg
|
2021-05-07 21:18:14 +00:00
|
|
|
|
gnome.adwaita-icon-theme
|
2019-10-03 21:13:51 +00:00
|
|
|
|
gpgme
|
|
|
|
|
libsecret
|
|
|
|
|
avahi
|
|
|
|
|
libsoup
|
|
|
|
|
p11-kit
|
|
|
|
|
openssh
|
|
|
|
|
openldap
|
|
|
|
|
libpwquality
|
2020-11-17 14:28:53 +00:00
|
|
|
|
libhandy
|
2018-03-22 18:52:39 +00:00
|
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
|
2021-10-01 23:08:17 +00:00
|
|
|
|
doCheck = true;
|
|
|
|
|
|
2018-09-05 00:52:16 +00:00
|
|
|
|
postPatch = ''
|
|
|
|
|
patchShebangs build-aux/
|
|
|
|
|
'';
|
|
|
|
|
|
2021-10-01 23:08:17 +00:00
|
|
|
|
preCheck = ''
|
|
|
|
|
# Add “org.gnome.crypto.pgp” GSettings schema to path
|
|
|
|
|
# to make it available for “gpgme-backend” test.
|
|
|
|
|
# It is used by Seahorse’s internal “common” library.
|
2022-01-02 19:34:53 +00:00
|
|
|
|
addToSearchPath XDG_DATA_DIRS "${glib.getSchemaDataDirPath gcr}"
|
2021-10-01 23:08:17 +00:00
|
|
|
|
# The same test also requires home directory so that it can store settings.
|
|
|
|
|
export HOME=$TMPDIR
|
|
|
|
|
'';
|
|
|
|
|
|
2018-03-22 18:52:39 +00:00
|
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
|
updateScript = gnome.updateScript {
|
2018-03-22 18:52:39 +00:00
|
|
|
|
packageName = pname;
|
2021-05-07 21:18:14 +00:00
|
|
|
|
attrPath = "gnome.${pname}";
|
2018-03-22 18:52:39 +00:00
|
|
|
|
};
|
|
|
|
|
};
|
2016-09-18 19:35:23 +00:00
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
|
homepage = "https://wiki.gnome.org/Apps/Seahorse";
|
2016-09-18 19:35:23 +00:00
|
|
|
|
description = "Application for managing encryption keys and passwords in the GnomeKeyring";
|
2020-04-01 12:40:51 +00:00
|
|
|
|
maintainers = teams.gnome.members;
|
2020-11-17 14:28:53 +00:00
|
|
|
|
license = licenses.gpl2Plus;
|
2016-09-18 19:35:23 +00:00
|
|
|
|
platforms = platforms.linux;
|
|
|
|
|
};
|
|
|
|
|
}
|