all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#30486] [PATCH] gnu: Add python-boto3 and python2-boto3.
@ 2018-02-16 15:37 Thompson, David
  2018-02-16 19:34 ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Thompson, David @ 2018-02-16 15:37 UTC (permalink / raw)
  To: 30486

[-- Attachment #1: Type: text/plain, Size: 162 bytes --]

Small patch that adds the AWS SDK for Python which came in handy for
me while testing a Lambda function (in the AWS sense) on my local
machine yesterday.

- Dave

[-- Attachment #2: 0001-gnu-Add-python-boto3-and-python2-boto3.patch --]
[-- Type: text/x-patch, Size: 1639 bytes --]

From a328be2daccc7778f05c86a06b3b7db237473a44 Mon Sep 17 00:00:00 2001
From: David Thompson <dthompson2@worcester.edu>
Date: Fri, 16 Feb 2018 10:35:04 -0500
Subject: [PATCH] gnu: Add python-boto3 and python2-boto3.

* gnu/packages/python-web.scm (python-boto3, python2-boto3): New variables.
---
 gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 3cad440b9..d295cbf1d 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2442,3 +2442,32 @@ layouts.")
 
 (define-public python2-pastescript
   (package-with-python2 python-pastescript))
+
+(define-public python-boto3
+  (package
+    (name "python-boto3")
+    (version "1.5.29")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "boto3" version))
+       (sha256
+        (base32
+         "1f2sy0qjgs0sh0sxqfpf2ykr0y43cgrilp8y6zmzy9wbnkfp6cx8"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-botocore" ,python-botocore)
+       ("python-jmespath" ,python-jmespath)
+       ("python-s3transfer" ,python-s3transfer)))
+    (home-page "https://github.com/boto/boto3")
+    (synopsis "The AWS SDK for Python")
+    (description "Boto3 is the official Amazon Web Services SDK for Python.")
+    (license license:asl2.0)))
+
+(define-public python2-boto3
+  (let ((base (package-with-python2 python-boto3)))
+    (package
+      (inherit base)
+      (propagated-inputs
+       `(("python2-futures" ,python2-futures)
+         ,@(package-propagated-inputs base))))))
-- 
2.16.1


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

end of thread, other threads:[~2020-12-12  1:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-16 15:37 [bug#30486] [PATCH] gnu: Add python-boto3 and python2-boto3 Thompson, David
2018-02-16 19:34 ` Leo Famulari
2020-12-11  6:44   ` Arun Isaac
2020-12-12  1:25     ` bug#30486: " Leo Famulari

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.