15 buildPythonPackage rec {
16 pname = "python-twitter";
18 format = "setuptools";
20 disabled = pythonOlder "3.7";
22 src = fetchFromGitHub {
26 sha256 = "08ydmf6dcd416cvw6xq1wxsz6b9s21f2mf9fh3y4qz9swj6n9h8z";
30 # Fix tests. Remove with the next release
32 url = "https://github.com/bear/python-twitter/commit/f7eb83d9dca3ba0ee93e629ba5322732f99a3a30.patch";
33 sha256 = "008b1bd03wwngs554qb136lsasihql3yi7vlcacmk4s5fmr6klqw";
37 propagatedBuildInputs = [
51 substituteInPlace setup.py \
52 --replace "'pytest-runner'" ""
55 pythonImportsCheck = [
60 description = "Python wrapper around the Twitter API";
61 homepage = "https://github.com/bear/python-twitter";
62 license = licenses.asl20;
63 maintainers = [ maintainers.marsam ];