[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: Add python-json2html.
From: |
guix-commits |
Subject: |
branch master updated: gnu: Add python-json2html. |
Date: |
Sat, 16 Oct 2021 07:26:00 -0400 |
This is an automated email from the git hooks/post-receive script.
arunisaac pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 34b0aa1 gnu: Add python-json2html.
34b0aa1 is described below
commit 34b0aa16e77bdbb5b847267eb0f825a590e3d101
Author: jgart <jgart@dismail.de>
AuthorDate: Wed Oct 13 00:53:06 2021 -0400
gnu: Add python-json2html.
* gnu/packages/python-xyz.scm (python-json2html): New variable.
Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
---
gnu/packages/python-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6fd6749..d7df77c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27308,6 +27308,35 @@ location. This small Python module determines the
appropriate
platform-specific directories, e.g. the ``user data dir''.")
(license license:expat)))
+(define-public python-json2html
+ (package
+ (name "python-json2html")
+ (version "1.3.0")
+ (source
+ ;; There are no tests in the PyPI tarball.
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/softvar/json2html")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1ncypljnl5y8lsxy6ibcqy412kx3mzxl4ajg67568hvq98kv1sb3"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? inputs outputs #:allow-other-keys)
+ (when tests?
+ (add-installed-pythonpath inputs outputs)
+ (invoke "python" "test/run_tests.py")))))))
+ (home-page "https://github.com/softvar/json2html")
+ (synopsis "Convert JSON to HTML table")
+ (description "@code{python-json2html} is a python module to convert JSON
+into a human readable HTML table representation.")
+ (license license:expat)))
+
(define-public python-face
(package
(name "python-face")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: Add python-json2html.,
guix-commits <=