mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: Add python-google-auth-1.
* gnu/packages/python-web.scm (python-google-auth-1): New variable.
This commit is contained in:
parent
a39aac3352
commit
e0deaf0a85
1 changed files with 36 additions and 0 deletions
|
@ -7253,6 +7253,42 @@ (define-public python-google-auth
|
||||||
server-to-server authentication mechanisms to access Google APIs.")
|
server-to-server authentication mechanisms to access Google APIs.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define-public python-google-auth-1
|
||||||
|
(package
|
||||||
|
(inherit python-google-auth)
|
||||||
|
(name "python-google-auth")
|
||||||
|
(version "1.35.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "google-auth" version))
|
||||||
|
(sha256
|
||||||
|
(base32 "13nqj6hikvbdmbs1vb78c88ym0pd03m09ch00biqw64c0blkn0xp"))))
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(invoke "pytest")))))))
|
||||||
|
(propagated-inputs
|
||||||
|
(list python-cachetools
|
||||||
|
python-pyasn1-modules
|
||||||
|
python-rsa
|
||||||
|
python-six
|
||||||
|
;; For the extras
|
||||||
|
python-pyopenssl
|
||||||
|
python-pyu2f))
|
||||||
|
(native-inputs
|
||||||
|
(list python-flask
|
||||||
|
python-freezegun
|
||||||
|
python-oauth2client
|
||||||
|
python-pytest
|
||||||
|
python-pytest-localserver
|
||||||
|
python-requests
|
||||||
|
python-responses
|
||||||
|
python-urllib3))))
|
||||||
|
|
||||||
(define-public python-google-resumable-media
|
(define-public python-google-resumable-media
|
||||||
(package
|
(package
|
||||||
(name "python-google-resumable-media")
|
(name "python-google-resumable-media")
|
||||||
|
|
Loading…
Reference in a new issue