anchor.diff:    doCheck = false;
   
     postInstall = lib.optionalString withAlias ''
  -      ln -s "$out/bin/yt-dlp" "$out/bin/youtube-dl"
  +    ln -s "$out/bin/yt-dlp" "$out/bin/youtube-dl"
     '';
   
     meta = with lib; {
  
positive.code:   # The websites yt-dlp deals with are a very moving target. That means that
    # downloads break constantly. Because of that, updates should always be backported
    # to the latest stable release.
    version = "2022.2.4";
  
    src = fetchPypi {
      inherit pname;
      version = builtins.replaceStrings [ ".0" ] [ "." ] version;
      sha256 = "sha256-gbUO18+c/MBC2PWhrS0c17E8SLNsB/rxiAaW6sCn3bU=";
    };
  
    propagatedBuildInputs = [ websockets mutagen ]
      ++ lib.optional hlsEncryptedSupport pycryptodomex;
  
    # Ensure these utilities are available in $PATH:
    # - ffmpeg: post-processing & transcoding support
  
negative.code:       you can modify it, redistribute it or use it however you like.
      '';
      license = licenses.unlicense;
      maintainers = with maintainers; [ mkg20001 SuperSandro2000 ];
    };
  }
  