anchor.diff:      kodiupdate = enableKodiupdate;
       lastgenre = enableLastfm;
       lastimport = enableLastfm;
  +    loadext = enableLoadext;
       mpdstats = enableMpd;
       mpdupdate = enableMpd;
  +    playlist = enablePlaylist;
       replaygain = enableReplaygain;
       sonosupdate = enableSonosUpdate;
  +    subsonicupdate = enableSubsonicupdate;
       thumbnails = enableThumbnails;
       web = enableWeb;
     };
  
positive.code:   patches = [
      ./replaygain-default-bs1770gain.patch
      ./keyfinder-default-bin.patch
  
      # Fix Python 3.7 compatibility
      (fetchpatch {
        url = "https://github.com/beetbox/beets/commit/"
            + "15d44f02a391764da1ce1f239caef819f08beed8.patch";
        sha256 = "12rjb4959nvnrm3fvvki7chxjkipa0cy8i0yi132xrcn8141dnpm";
        excludes = [ "docs/changelog.rst" ];
      })
    ];
  
    postPatch = ''
  
negative.code: 
  in pythonPackages.buildPythonApplication rec {
    pname = "beets";
    version = "1.4.9";
  
    src = fetchFromGitHub {
      owner = "beetbox";
      repo = "beets";
      rev = "v${version}";
      sha256 = "1qxdqbzvz97zgykzdwn78g2xyxmg0q2jdb12dnjnrwvhmjv67vi8";
    };
  
    propagatedBuildInputs = [
  