anchor.diff:  { stdenv
   , alsa-lib
  +, addOpenGLRunpath
   , autoPatchelfHook
   , cairo
   , fetchurl
  
positive.code:     ${rpmextract}/bin/rpmextract $src
    '';
  
    nativeBuildInputs = [ autoPatchelfHook rpmextract ];
  
    buildInputs = [
      alsa-lib
  
negative.code:       --replace "NetworkManager-wait-online.service" ""
    '';
  
    # NB: addOpenGLRunpath needs to run _after_ autoPatchelfHook, which runs in
    # postFixup, so we tack it on here.
    doInstallCheck = true;
    installCheckPhase = ''
      addOpenGLRunpath $out/bin/hqplayerd
      $out/bin/hqplayerd --version
    '';
  
    meta = with lib; {
  