1{ lib 2, aiohttp 3, buildPythonPackage 4, fetchFromGitHub 5, oauthlib 6, requests 7, pythonOlder 8, vcrpy 9, pytestCheckHook 10, requests_oauthlib 11}: 12 13buildPythonPackage rec { 14 pname = "tweepy"; 15 version = "4.4.0"; 16 format = "setuptools"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchFromGitHub { 21 owner = pname; 22 repo = pname; 23 rev = "v${version}"; 24 sha256 = "sha256-GUo8uvShyIOWWcO5T1JvV7DMC1W70YILx/hvHIGQg0o="; 25 }; 26 27 propagatedBuildInputs = [ 28 aiohttp 29 oauthlib 30 requests 31 requests_oauthlib 32 ]; 33 34 checkInputs = [ 35 pytestCheckHook 36 vcrpy 37 ]; 38 39 pythonImportsCheck = [ 40 "tweepy" 41 ]; 42 43 meta = with lib; { 44 homepage = "https://github.com/tweepy/tweepy"; 45 description = "Twitter library for Python"; 46 license = licenses.mit; 47 maintainers = with maintainers; [ ]; 48 }; 49}