gnu: Add python-dlmanager.

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

Change-Id: I824480aa15fb630acf9912c0d99d07d855d0c58b
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Adam Faiz 2025-03-01 11:39:37 +01:00 committed by Nicolas Goaziou
parent f3f09fb4a3
commit 1d1c66d3e0
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -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")