guix_mirror_bot pushed a commit to branch master
in repository guix.
commit f02c8001d7ce357c3068c0ab223e6196680d19a4
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Mon Nov 24 17:44:48 2025 +0100
gnu: Add python-json-log-formatter.
* gnu/packages/python-xyz.scm (python-json-log-formatter): New variable.
Change-Id: Ia944a2341f2682d9c640cd34d9b7b638adfac8f3
---
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 a9b5c9b713..e31b2b35ce 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1423,6 +1423,39 @@ comparison operators, as defined in the original
@url{http://goessner.net/articles/JsonPath/, JSONPath} proposal.")
(license license:asl2.0)))
+(define-public python-json-log-formatter
+ (package
+ (name "python-json-log-formatter")
+ (version "1.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/marselester/json-log-formatter")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "04zs938mjf131h0lfrkm3c2dfh0x5f8rmaks0i29nlxb71zpg0f2"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-s" "tests.py")))))))
+ (native-inputs (list python-django
+ python-pytest
+ python-setuptools
+ python-simplejson
+ python-ujson
+ python-wheel))
+ (home-page "https://github.com/marselester/json-log-formatter")
+ (synopsis "JSON log formatter")
+ (description "The library helps you to store logs in JSON format.")
+ (license license:expat)))
+
(define-public python-keeper-secrets-manager-core
;; released from a monorepo with other packages following various versioning
;; schemes. This commit was selected because some failing tests were fixed