anchor.diff:  , withVoice ? true, libopus
   , aiohttp
   , websockets
  -, pynacl
   }:
   
   buildPythonPackage rec {
     pname = "discord.py";
  -  version = "1.3.4";
  +  version = "1.5.1";
     disabled = pythonOlder "3.5.3";
   
     # only distributes wheels on pypi now
  
positive.code:     "discord.ext.commands.bot"
    ];
  
    meta = {
      description = "A python wrapper for the Discord API";
      homepage    = "https://discordpy.rtfd.org/";
      license     = lib.licenses.mit;
    };
  }
  
negative.code:     substituteInPlace "discord/opus.py" \
        --replace "ctypes.util.find_library('opus')" "'${libopus}/lib/libopus.so.0'"
    '';
  
    # only have integration tests with discord
    doCheck = false;
  