summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm35
1 files changed, 34 insertions, 1 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d2d1389d196..6e4e44c6cfd 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -39,7 +39,7 @@
39;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com> 39;;; Copyright © 2020 Edouard Klein <edk@beaver-labs.com>
40;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net> 40;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net>
41;;; Copyright © 2020 Konrad Hinsen <konrad.hinsen@fastmail.net> 41;;; Copyright © 2020 Konrad Hinsen <konrad.hinsen@fastmail.net>
42;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org> 42;;; Copyright © 2020, 2022 Giacomo Leidi <goodoldpaul@autistici.org>
43;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech> 43;;; Copyright © 2021 Ekaitz Zarraga <ekaitz@elenq.tech>
44;;; Copyright © 2021 Greg Hogan <code@greghogan.com> 44;;; Copyright © 2021 Greg Hogan <code@greghogan.com>
45;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be> 45;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
@@ -6271,3 +6271,36 @@ purely formal level.
6271Full documentation may be found at 6271Full documentation may be found at
6272@uref{https://mwparserfromhell.readthedocs.io, ReadTheDocs}") 6272@uref{https://mwparserfromhell.readthedocs.io, ReadTheDocs}")
6273 (license license:expat))) 6273 (license license:expat)))
6274
6275(define-public python-tweepy
6276 (package
6277 (name "python-tweepy")
6278 (version "4.4.0")
6279 (source
6280 (origin
6281 (method git-fetch)
6282 (uri
6283 (git-reference
6284 (url "https://github.com/tweepy/tweepy")
6285 (commit (string-append "v" version))))
6286 (file-name (git-file-name name version))
6287 (sha256
6288 (base32
6289 "0jl3j20iqvzqqw5q5ldval5wrc2pdx94zff3b6b87j51yjx3qjhr"))))
6290 (build-system python-build-system)
6291 (arguments
6292 `(#:phases
6293 (modify-phases %standard-phases
6294 (replace 'check
6295 (lambda* (#:key tests? #:allow-other-keys)
6296 (when tests?
6297 (invoke "python" "-m" "unittest" "discover" "tests")))))))
6298 (propagated-inputs
6299 (list python-aiohttp python-requests python-requests-oauthlib))
6300 (native-inputs
6301 (list python-vcrpy))
6302 (home-page "https://www.tweepy.org/")
6303 (synopsis "Twitter library for Python")
6304 (description "This package provides @code{Tweepy}, an easy-to-use Python
6305library for accessing the Twitter API.")
6306 (license license:expat)))