diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2025-11-24 17:44:48 +0100 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2025-11-24 17:45:13 +0100 |
| commit | f02c8001d7ce357c3068c0ab223e6196680d19a4 (patch) | |
| tree | dade335d53f0d0ad3a6b83fe7dc8700d70abee7a /gnu | |
| parent | dbe04d0dd73c5eda8c31839ba8c2ffdc40f0407d (diff) | |
gnu: Add python-json-log-formatter.
* gnu/packages/python-xyz.scm (python-json-log-formatter): New variable.
Change-Id: Ia944a2341f2682d9c640cd34d9b7b638adfac8f3
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a9b5c9b713a..e31b2b35ce9 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 |
