diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-28 13:34:59 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-10-28 17:46:25 +0000 |
| commit | c90631bd4c1f36e5004b55c5bf0055ce2b3c8858 (patch) | |
| tree | 9dea087be4c0df045eb6bbd7dbecc8be7b8fa640 /gnu/packages/python-web.scm | |
| parent | 78e1560ddd2d896df3d47c828ef9a3b00d4fc68e (diff) | |
gnu: s3cmd: Move to python-web.
* gnu/packages/python-xyz.scm (s3cmd): Move from here ...
* gnu/packages/python-web.scm: ... to here.
Change-Id: Ie28451433d08f28db3f505fe0032cefb847ff4a4
Diffstat (limited to 'gnu/packages/python-web.scm')
| -rw-r--r-- | gnu/packages/python-web.scm | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index a92c6440fed..d1c121ddc3d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -12834,3 +12834,42 @@ you download the entire Wayback Machine archive for a given URL.") repository of available XYZ services offering raster basemap tiles. The repository is provided via Python API and as a compressed JSON file.") (license license:bsd-3))) + +(define-public s3cmd + (package + (name "s3cmd") + (version "2.4.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 "168c49d1v8r7azv66zz0w07jalf434c2jpg2xzads5jnxzmiy73k")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f ; XXX: Tests require network access. + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'hide-wrapping + (lambda _ + (substitute* "S3/MultiPart.py" + (("sys\\.argv\\[0\\]") + "\"s3cmd\"")) + (substitute* "s3cmd" + (("optparser\\.get_prog_name\\(\\)") + "\"s3cmd\""))))))) + (native-inputs (list python-setuptools)) + (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+))) |
