unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#56208] [PATCH] gnu: Add python-sendgrid.
@ 2022-06-25  4:25 Antero Mejr via Guix-patches via
  2022-06-26 21:18 ` bug#56208: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Antero Mejr via Guix-patches via @ 2022-06-25  4:25 UTC (permalink / raw)
  To: 56208

Depends on patch #56196 (python-http-client) and #56207 (python-starkbank-ecdsa).
https://issues.guix.gnu.org/56196
https://issues.guix.gnu.org/56207

* gnu/packages/python-web.scm (python-sendgrid): New variable.
---
 gnu/packages/python-web.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6c121907e6..1afa0ef487 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7546,3 +7546,27 @@ (define-public python-zeep
 @end itemize")
     (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)))
-- 
2.36.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#56208: [PATCH] gnu: Add python-sendgrid.
  2022-06-25  4:25 [bug#56208] [PATCH] gnu: Add python-sendgrid Antero Mejr via Guix-patches via
@ 2022-06-26 21:18 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-06-26 21:18 UTC (permalink / raw)
  To: Antero Mejr; +Cc: 56208-done

Antero Mejr <antero@mailbox.org> skribis:

> Depends on patch #56196 (python-http-client) and #56207 (python-starkbank-ecdsa).
> https://issues.guix.gnu.org/56196
> https://issues.guix.gnu.org/56207
>
> * gnu/packages/python-web.scm (python-sendgrid): New variable.

Applied, thanks!




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-06-26 21:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-25  4:25 [bug#56208] [PATCH] gnu: Add python-sendgrid Antero Mejr via Guix-patches via
2022-06-26 21:18 ` bug#56208: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).