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 { stdenv.mkDerivation rec {
pname = "seahorse"; pname = "seahorse";
version = "40.0"; version = "41.0";
src = fetchurl { src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz";
hash = "sha256-fscFezhousbqBB/aghQKOfXsnlsYi0UJFNRTvC1V0Cw="; hash = "sha256-5u7AnoEESClfVH8YwdV3K2XD7cHZ5aJZXxC13eaJKfU=";
}; };
doCheck = true;
nativeBuildInputs = [ nativeBuildInputs = [
meson meson
ninja ninja
@ -65,10 +63,21 @@ stdenv.mkDerivation rec {
libhandy libhandy
]; ];
doCheck = true;
postPatch = '' postPatch = ''
patchShebangs build-aux/ 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 = { passthru = {
updateScript = gnome.updateScript { updateScript = gnome.updateScript {
packageName = pname; packageName = pname;