anchor.diff:      ++ optional  swaySupport   sway
       ++ optional  traySupport   libdbusmenu-gtk3
       ++ optional  udevSupport   udev
  -    ++ optional  upowerSupport upower;
  +    ++ optional  upowerSupport upower
  +    ++ optional  wireplumberSupport wireplumber;
   
     checkInputs = [ catch2_3 ];
     doCheck = runTests;
  
positive.code: , traySupport     ? true,  libdbusmenu-gtk3
  , udevSupport     ? true,  udev
  , upowerSupport   ? true,  upower
  , withMediaPlayer ? false, glib, gobject-introspection, python3, playerctl
  }:
  
  stdenv.mkDerivation rec {
    pname = "waybar";
    version = "0.9.15";
  
    src = fetchFromGitHub {
      owner = "Alexays";
      repo = "Waybar";
      rev = version;
      sha256 = "sha256-u2nEMS0lJ/Kf09+mWYWQLji9MVgjYAfUi5bmPEfTfFc=";
    };
  
    nativeBuildInputs = [
  
negative.code:       sndio = sndioSupport;
        tests = runTests;
        upower_glib = upowerSupport;
        wireplumber = wireplumberSupport;
      }
    ) ++ [
      "-Dsystemd=disabled"
  