Subject: [PATCH] gnu: Add python-securetar.
From: Evgeny Pisemsky <[email-masked]>
To: [email-masked]
Date: Mon, 27 Jan 2025 23:29:13 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/python-xyz.scm (python-securetar): New variable.

Change-Id: Ic27644f20f59b6dceb2c15c637eb2db5955abba3
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 31a5166574..760699085f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21698,6 +21698,29 @@ (define-public s3cmd
 CloudFront content delivery network.")
     (license license:gpl2+)))
 
+(define-public python-securetar
+  (package
+    (name "python-securetar")
+    (version "2025.1.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/pvizeli/securetar")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1b9m29j4mjiv7925wrbiyj6vyx7m9qmdz40zqd4vgxhz4pq6x3xw"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-setuptools python-wheel python-pytest))
+    (propagated-inputs (list python-cryptography))
+    (home-page "https://github.com/pvizeli/securetar")
+    (synopsis "Python module to handle tarfile backups")
+    (description
+     "This library provides a streaming wrapper around python tarfile and allow
+secure handling files and support encryption.")
+    (license license:asl2.0)))
+
 (define-public python-pkgconfig
   (package
     (name "python-pkgconfig")

base-commit: 25651bab10800cf078be81025ffed168cfa76dbe
-- 
2.47.1