mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: Add python-unique-log-filter.
* gnu/packages/python-xyz.scm (python-unique-log-filter): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
53c7ce9c9a
commit
c3d21302cb
1 changed files with 30 additions and 0 deletions
|
@ -31033,6 +31033,36 @@ (define-public python-json-logger
|
|||
we can stop writing custom parsers for syslog-type records.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public python-unique-log-filter
|
||||
(package
|
||||
(name "python-unique-log-filter")
|
||||
(version "0.1.0")
|
||||
(source
|
||||
;; The version on pypi does not include test files.
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/twizmwazin/unique_log_filter")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "036mh6nqskck2fa1q2inasqxb9wcz2p09qcpldnnffzcy1a6kzba"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
`(#:phases (modify-phases %standard-phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "python" "test_unique_log_filter.py")))))))
|
||||
(native-inputs (list python-flit-core))
|
||||
(home-page "https://github.com/twizmwazin/unique_log_filter")
|
||||
(synopsis "Log filter that removes duplicate log messages")
|
||||
(description
|
||||
"This library provides a filter for the @code{logging} module
|
||||
from the Python standard library which allows removing duplicate log
|
||||
messages.")
|
||||
(license license:bsd-2)))
|
||||
|
||||
(define-public python-daiquiri
|
||||
(package
|
||||
(name "python-daiquiri")
|
||||
|
|
Loading…
Reference in a new issue