anchor.diff:  
   with stdenv.lib;
   
  +# TODO: remove after there's support for setupPyDistFlags
  +let
  +  setuppy = ../../../development/interpreters/python/run_setup.py;
  +in
   python3Packages.buildPythonApplication rec {
     name = "virt-manager-${version}";
     version = "2.2.0";
  
positive.code: 
    postConfigure = ''
      ${python3Packages.python.interpreter} setup.py configure --prefix=$out
    '';
  
    postInstall = ''
  
negative.code:   };
  
    nativeBuildInputs = [
      intltool file
      gobject-introspection # for setup hook populating GI_TYPELIB_PATH
    ];
  
    buildInputs = [
      wrapGAppsHook
      libvirt-glib vte dconf gtk-vnc gnome3.adwaita-icon-theme avahi
      gsettings-desktop-schemas libosinfo gtksourceview4
      gobject-introspection # Temporary fix, see https://github.com/NixOS/nixpkgs/issues/56943
  