all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#58514] [PATCH] gnu: Add s3cmd.
@ 2022-10-14 13:37 Matthew James Kraai
  2022-10-16 18:34 ` bug#58514: " Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew James Kraai @ 2022-10-14 13:37 UTC (permalink / raw)
  To: 58514; +Cc: Matthew James Kraai

* gnu/packages/python-xyz.scm (python-s3cmd): New variable.
---
 gnu/packages/python-xyz.scm | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7c647bd42f..3c5b247df8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -75,7 +75,7 @@
 ;;; Copyright © 2020 Josh Marshall <joshua.r.marshall.1991@gmail.com>
 ;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
 ;;; Copyright © 2020 Alex ter Weele <alex.ter.weele@gmail.com>
-;;; Copyright © 2020 Matthew James Kraai <kraai@ftbfs.org>
+;;; Copyright © 2020, 2022 Matthew James Kraai <kraai@ftbfs.org>
 ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
 ;;; Copyright © 2020 Josh Holland <josh@inv.alid.pw>
 ;;; Copyright © 2020 Yuval Kogman <nothingmuch@woobling.org>
@@ -16189,6 +16189,32 @@ (define-public python-magic
 the same purpose: to provide Python bindings for libmagic.")
     (license license:expat)))
 
+(define-public python-s3cmd
+  (package
+    (name "python-s3cmd")
+    (version "2.3.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/s3tools/s3cmd")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0rdgwwmmp8mdxc84bxq6k9a7v7z2qgc3df47djzs2b84gw81dglx"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     (list python-dateutil python-magic))
+    (home-page "https://s3tools.org/s3cmd")
+    (synopsis "Command line tool for S3-compatible storage services")
+    (description
+     "S3cmd is a command line tool for uploading, retrieving and managing data
+in storage services that are compatible with the Amazon Simple Storage
+Service (S3) protocol, including S3 itself.  It supports rsync-like backup,
+GnuPG encryption, and more.  It also supports management of Amazon's
+CloudFront content delivery network.")
+    (license license:gpl2+)))
+
 (define-public python-pkgconfig
   (package
     (name "python-pkgconfig")
-- 
2.38.0





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

* bug#58514: [PATCH] gnu: Add s3cmd.
  2022-10-14 13:37 [bug#58514] [PATCH] gnu: Add s3cmd Matthew James Kraai
@ 2022-10-16 18:34 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2022-10-16 18:34 UTC (permalink / raw)
  To: Matthew James Kraai; +Cc: 58514-done

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


Matthew James Kraai <kraai@ftbfs.org> writes:

> * gnu/packages/python-xyz.scm (python-s3cmd): New variable.
> ---
>  gnu/packages/python-xyz.scm | 28 +++++++++++++++++++++++++++-
>  1 file changed, 27 insertions(+), 1 deletion(-)

Thanks Matthew, I've gone ahead and pushed this to master as
cf19228932eff2ede5f39f4fdc759374e3b89991.

I made a few tweaks, all around packaging this more as a tool than a
Python library. I made the inputs plain inputs rather than propagated
inputs, since that'll interfere less with users profiles, and I also
just named the package s3cmd, since the python bit is not particularly
relevant.

Thanks again,

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

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

end of thread, other threads:[~2022-10-16 18:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-14 13:37 [bug#58514] [PATCH] gnu: Add s3cmd Matthew James Kraai
2022-10-16 18:34 ` bug#58514: " Christopher Baines

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.