This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 1d1c66d3e0 gnu: Add python-dlmanager.
1d1c66d3e0 is described below

commit 1d1c66d3e077fb1961d08849babfd976796670b6
Author: Adam Faiz <adam.f...@disroot.org>
AuthorDate: Sat Mar 1 11:39:37 2025 +0100

    gnu: Add python-dlmanager.
    
    * gnu/packages/python-xyz.scm (python-dlmanager): New variable.
    
    Change-Id: I824480aa15fb630acf9912c0d99d07d855d0c58b
    Signed-off-by: Nicolas Goaziou <m...@nicolasgoaziou.fr>
---
 gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 2214e0aa9c..cc6233e94f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1159,6 +1159,39 @@ Python dataclasses.")
 from JSON payloads using the @code{databind.core} framework.")
     (license license:expat)))
 
+(define-public python-dlmanager
+  (package
+    (name "python-dlmanager")
+    (version "0.1.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/parkouss/dlmanager";)
+                    (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0f2j7d396z50yd5r86jx8m5bxyv2i0cw967j68xcwpcg3b216zmr"))
+              (modules '((guix build utils)))
+              (snippet
+               #~(begin
+                   (substitute* "setup.py"
+                     (("pytest.main.self.pytest_args.")
+                      "pytest.main(self.pytest_args.split(' '))"))))))
+    (build-system python-build-system)
+    (native-inputs
+     (list python-pytest python-mock))
+    (propagated-inputs
+     (list python-requests python-six))
+    (home-page "https://github.com/parkouss/dlmanager";)
+    (synopsis "Download manager library")
+    (description
+     "Dlmanager is a download manager library.  It can download files in
+background and in parallel, and cancel downloads.  It stores downloads in
+a given directory, avoiding re-downloading files and limits the size of this
+directory, removing oldest files.")
+    (license license:gpl3+)))
+
 (define-public python-docspec
   (package
     (name "python-docspec")

Reply via email to