gnome.seahorse: 40.0 → 41.0

This commit is contained in:
Jan Tojnar 2021-10-01 23:08:17 +00:00
parent 34b2bfd81a
commit a15791d42d

View File

@ -27,15 +27,13 @@
stdenv.mkDerivation rec {
pname = "seahorse";
version = "40.0";
version = "41.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
hash = "sha256-fscFezhousbqBB/aghQKOfXsnlsYi0UJFNRTvC1V0Cw=";
hash = "sha256-5u7AnoEESClfVH8YwdV3K2XD7cHZ5aJZXxC13eaJKfU=";
};
doCheck = true;
nativeBuildInputs = [
meson
ninja
@ -65,10 +63,21 @@ stdenv.mkDerivation rec {
libhandy
];
doCheck = true;
postPatch = ''
patchShebangs build-aux/
'';
preCheck = ''
# Add “org.gnome.crypto.pgp” GSettings schema to path
# to make it available for “gpgme-backend” test.
# It is used by Seahorses internal “common” library.
addToSearchPath XDG_DATA_DIRS "${glib.getSchemaPath gcr}/../.."
# The same test also requires home directory so that it can store settings.
export HOME=$TMPDIR
'';
passthru = {
updateScript = gnome.updateScript {
packageName = pname;