anchor.diff:      libgphoto2
       avahi
       libarchive
  -    fuse
  +    fuse3
       libcdio
       samba
       libmtp
  
positive.code: , libsecret
  , libgdata
  , python3
  }:
  
  stdenv.mkDerivation rec {
    pname = "gvfs";
    version = "1.40.2";
  
    src = fetchurl {
      url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
      sha256 = "07lpcfric3h0302n9b1pwa38mjb76r9s98kg2867y2d1qvzfivxx";
    };
  
    postPatch = ''
  
negative.code:     libcdio-paranoia
      libnfs
      openssh
      gsettings-desktop-schemas
      # TODO: a ligther version of libsoup to have FTP/HTTP support?
    ] ++ stdenv.lib.optionals gnomeSupport [
      gnome3.libsoup
  