anchor.diff:      libgcrypt
       libtasn1
       pango
  +    libsecret
  +    openssh
  +    systemd
     ];
   
     propagatedBuildInputs = [
  
positive.code: 
  stdenv.mkDerivation rec {
    pname = "gcr";
    version = "3.40.0";
  
    src = fetchurl {
      url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
      sha256 = "udNkWl/ZU6VChcxk1PwEZzZGPb1NzCXK9ce1m+0wJ/U=";
    };
  
    postPatch = ''
      patchShebangs build/ gcr/fixtures/
  
      chmod +x meson_post_install.py
      patchShebangs meson_post_install.py
    '';
  
    outputs = [ "out" "dev" ];
  
    nativeBuildInputs = [
      pkg-config
  
negative.code: 
    mesonFlags = [
      "-Dgtk_doc=false"
      # We are still using ssh-agent from gnome-keyring.
      # https://github.com/NixOS/nixpkgs/issues/140824
      "-Dssh_agent=false"
    ];
  
    doCheck = false; # fails 21 out of 603 tests, needs dbus daemon
  
    PKG_CONFIG_SYSTEMD_SYSTEMDUSERUNITDIR = "${placeholder "out"}/lib/systemd/user";
  
    postPatch = ''
      patchShebangs build/ gcr/fixtures/
  
      chmod +x meson_post_install.py
      patchShebangs meson_post_install.py
    '';
  
    preFixup = ''
      wrapProgram "$out/bin/gcr-viewer" \
  