me
/
guix
Archived
1
0
Fork 0

gnu: Add python-sendgrid.

* gnu/packages/python-web.scm (python-sendgrid): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Antero Mejr 2022-06-25 04:25:03 +00:00 committed by Ludovic Courtès
parent 24dba9c5e7
commit 8d0e696243
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 25 additions and 0 deletions

View File

@ -7569,3 +7569,28 @@ resources using Web Application Description Language (WADL) files as guides.")
(description
"This package provides access to any RESTful or RESTful-like API.")
(license license:expat)))
(define-public python-sendgrid
(package
(name "python-sendgrid")
(version "6.9.7")
(home-page "https://github.com/sendgrid/sendgrid-python/")
(source (origin
(method git-fetch)
(uri (git-reference
(url home-page)
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"0kvp4gm3bpcsj2mkv05pgvlcv1jlsfhcljcv61wz5kq9d273h7rg"))))
(build-system python-build-system)
(arguments
(list #:tests? #f)) ;241/340 tests fail due to attempted web access
(propagated-inputs (list python-http-client python-starkbank-ecdsa))
(synopsis "SendGrid API library for Python")
(description
"The @code{sendgrid} Python library allows access to the
SendGrid Web API v3. Version 3+ of the library provides full support for all
SendGrid Web API v3 endpoints, including the new v3 /mail/send.")
(license license:expat)))