summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntero Mejr <antero@mailbox.org>2022-06-25 04:25:03 +0000
committerLudovic Courtès <ludo@gnu.org>2022-06-26 23:19:14 +0200
commit8d0e69624357c0ce9e7c0b0713910a3e35f16226 (patch)
treed35d738692f267cbe0547b1f6dda3ab2ccebb573
parentgnu: Add python-http-client. (diff)
downloadguix-8d0e69624357c0ce9e7c0b0713910a3e35f16226.tar.gz
guix-8d0e69624357c0ce9e7c0b0713910a3e35f16226.tar.bz2
guix-8d0e69624357c0ce9e7c0b0713910a3e35f16226.tar.xz
gnu: Add python-sendgrid.
* gnu/packages/python-web.scm (python-sendgrid): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/python-web.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 088d7eb3d2..e48e4773df 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7569,3 +7569,28 @@ resources using Web Application Description Language (WADL) files as guides.")
7569 (description 7569 (description
7570 "This package provides access to any RESTful or RESTful-like API.") 7570 "This package provides access to any RESTful or RESTful-like API.")
7571 (license license:expat))) 7571 (license license:expat)))
7572
7573(define-public python-sendgrid
7574 (package
7575 (name "python-sendgrid")
7576 (version "6.9.7")
7577 (home-page "https://github.com/sendgrid/sendgrid-python/")
7578 (source (origin
7579 (method git-fetch)
7580 (uri (git-reference
7581 (url home-page)
7582 (commit version)))
7583 (file-name (git-file-name name version))
7584 (sha256
7585 (base32
7586 "0kvp4gm3bpcsj2mkv05pgvlcv1jlsfhcljcv61wz5kq9d273h7rg"))))
7587 (build-system python-build-system)
7588 (arguments
7589 (list #:tests? #f)) ;241/340 tests fail due to attempted web access
7590 (propagated-inputs (list python-http-client python-starkbank-ecdsa))
7591 (synopsis "SendGrid API library for Python")
7592 (description
7593 "The @code{sendgrid} Python library allows access to the
7594SendGrid Web API v3. Version 3+ of the library provides full support for all
7595SendGrid Web API v3 endpoints, including the new v3 /mail/send.")
7596 (license license:expat)))