anchor.diff:      # Remove "Local MPD" tab which is not suitable for NixOS.
       sed -i '/localmpd/d' sonata/consts.py
     '';
  -
  -  propagatedBuildInputs = [
  -    gobject-introspection gtk3 pygobject3 setuptools
  -  ];
  -
  -  # The optional tagpy dependency (for editing metadata) is not yet
  -  # included because it's difficult to build.
  -  pythonPath = [ dbus-python pygobject3 mpd2 ];
   
     meta = {
       description = "An elegant client for the Music Player Daemon";
  
positive.code: 
    disabled = !isPy3k;
  
    nativeBuildInputs = [ wrapGAppsHook gettext ];
    buildInputs = [
      gnome3.adwaita-icon-theme
      gsettings-desktop-schemas
    ];
  
    # Otherwise the setup hook for gsettings-desktop-schemas is not run:
    # https://github.com/NixOS/nixpkgs/issues/56943
    strictDeps = false;
  
  
negative.code: { stdenv, fetchFromGitHub, wrapGAppsHook, gettext
  , python3Packages, gnome3, gtk3, glib, gdk-pixbuf, gsettings-desktop-schemas, gobject-introspection }:
  
  let
    inherit (python3Packages) buildPythonApplication isPy3k dbus-python pygobject3 mpd2 setuptools;
  