me
/
guix
Archived
1
0
Fork 0

gnu: Add python-loguru.

* gnu/packages/python-xyz.scm (python-loguru): New variable.
master
Ricardo Wurmus 2023-05-04 10:51:38 +02:00
parent f234cda89a
commit 155137d28a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 34 additions and 0 deletions

View File

@ -28521,6 +28521,40 @@ versions which have appeared in recent Python releases, but are usable with
older versions of Python and so are packaged here.")
(license license:bsd-3)))
(define-public python-loguru
(package
(name "python-loguru")
(version "0.7.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "loguru" version))
(sha256
(base32
"1q83kr9zwwxchgyzf8gc6wi68ch5391mwzfxb5wlvs3axly0a4hn"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
;; All of these fail with: error: Cannot find implementation or library
;; stub for module named "loguru"
'(list "--ignore=tests/typesafety/test_logger.yml")))
(propagated-inputs (list python-colorama))
(native-inputs (list python-colorama
python-freezegun
python-mypy
python-pre-commit
python-pytest
python-pytest-cov
python-pytest-mypy-plugins
python-sphinx
python-sphinx-autobuild
python-sphinx-rtd-theme
python-tox))
(home-page "https://github.com/Delgan/loguru")
(synopsis "Python logging made (stupidly) simple")
(description "Python logging made (stupidly) simple")
(license license:expat)))
(define-public python-helper
(package
(name "python-helper")