anchor.diff:      pygobject3
       requests
       setuptools
  -  ])
  +  ]
     ++ lib.optional fehSupport feh
     ++ lib.optional imagemagickSupport imagemagick;
   
     doCheck = false;
   
  -  postInstall = ''
  -    wrapProgram $out/bin/variety --suffix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}/
  +  # Prevent double wrapping, let the Python wrapper use the args in preFixup.
  +  dontWrapGApps = true;
  +
  +  preFixup = ''
  +    makeWrapperArgs+=("''${gappsWrapperArgs[@]}")
     '';
   
     prePatch = ''
  
positive.code:   nativeBuildInputs = [
      intltool
      wrapGAppsHook
    ];
  
    propagatedBuildInputs = [
     gexiv2
     gobject-introspection
     gtk3
     hicolor-icon-theme
     libnotify
     librsvg
    ]
    ++ (with python3.pkgs; [
      beautifulsoup4
      configobj
      dbus-python
  
negative.code: , python3
  , runtimeShell
  , wrapGAppsHook
  , fehSupport ? false
  , feh
  , imagemagickSupport ? true
  , imagemagick
  }:
  
  python3.pkgs.buildPythonApplication rec {
  