anchor.diff:      webdav        = [ curl expat ];
       # Input plugins
       curl          = [ curl ];
  +    io_uring      = [ liburing ];
       mms           = [ libmms ];
       nfs           = [ libnfs ];
       smbclient     = [ samba ];
  
positive.code:     zeroconf      = [ avahi dbus ];
    };
  
    run = { features ? null }:
      let
        # Disable platform specific features if needed
        # using libmad to decode mp3 files on darwin is causing a segfault -- there
        # is probably a solution, but I'm disabling it for now
        platformMask = lib.optionals stdenv.isDarwin [ "mad" "pulse" "jack" "nfs" "smbclient" ]
                    ++ lib.optionals (!stdenv.isLinux) [ "alsa" "systemd" "syslog" ];
  
        knownFeatures = builtins.attrNames featureDependencies;
        platformFeatures = lib.subtractLists platformMask knownFeatures;
  
        features_ = if (features == null )
  
negative.code: 
      in stdenv.mkDerivation rec {
        pname = "mpd";
        version = "0.22";
  
        src = fetchFromGitHub {
          owner  = "MusicPlayerDaemon";
          repo   = "MPD";
          rev    = "v${version}";
          sha256 = "1lsi4fgrarabkahfhf5zbmppg7jba7m362gxyqhv54hmqprl1qff";
        };
  
        buildInputs = [
  