mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: Add python-json2html.
* gnu/packages/python-xyz.scm (python-json2html): New variable. Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
This commit is contained in:
parent
62ca859aa4
commit
34b0aa16e7
1 changed files with 29 additions and 0 deletions
|
@ -27308,6 +27308,35 @@ (define-public python-platformdirs
|
|||
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")
|
||||
|
|
Loading…
Reference in a new issue