anchor.diff:  , pynacl
   , pythonOlder
   , withVoice ? true
  +, ffmpeg
   }:
   
   buildPythonPackage rec {
  
positive.code: 
    propagatedBuildInputs = [
      aiohttp
    ] ++ lib.optionalString withVoice [
      libopus
      pynacl
    ];
  
    patchPhase = ''
  
negative.code:       --replace "ctypes.util.find_library('opus')" "'${libopus}/lib/libopus.so.0'"
      substituteInPlace requirements.txt \
        --replace "aiohttp>=3.6.0,<3.8.0" "aiohttp>=3.6.0,<4"
    '' + lib.optionalString withVoice ''
      substituteInPlace "discord/player.py" \
        --replace "executable='ffmpeg'" "executable='${ffmpeg}/bin/ffmpeg'"
    '';
  
    # Only have integration tests with discord
  