From a15791d42d16fbc9314df61233526026d3a70e5c Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 1 Oct 2021 23:08:17 +0000 Subject: [PATCH] =?UTF-8?q?gnome.seahorse:=2040.0=20=E2=86=92=2041.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/desktops/gnome/apps/seahorse/default.nix | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/pkgs/desktops/gnome/apps/seahorse/default.nix b/pkgs/desktops/gnome/apps/seahorse/default.nix index d09a4c9ff3e6..67036df2d51b 100644 --- a/pkgs/desktops/gnome/apps/seahorse/default.nix +++ b/pkgs/desktops/gnome/apps/seahorse/default.nix @@ -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 Seahorse’s 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;