{ lib , buildPythonPackage , fetchFromGitHub , requests , requests_oauthlib }: buildPythonPackage rec { pname = "twitterapi"; version = "2.6.10"; src = fetchFromGitHub { owner = "geduldig"; repo = "TwitterAPI"; rev = "v${version}"; sha256 = "sha256-ylxjeIK9cjT4r71j+sULYs6yyYWfKDkpm0bESMo7s3o="; }; propagatedBuildInputs = [ requests requests_oauthlib ]; # Tests are interacting with the Twitter API doCheck = false; pythonImportsCheck = [ "TwitterAPI" ]; meta = with lib; { description = "Python wrapper for Twitter's REST and Streaming APIs"; homepage = "https://github.com/geduldig/TwitterAPI"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; }