Skip to content

Commit 98dea10

Browse files
committed
gnu: Add package python-json5
* gnu/packages/python-xyz.scm (python-json5): New variable.
1 parent ef237a1 commit 98dea10

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

gnu/packages/python-xyz.scm

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17494,3 +17494,27 @@ custom PNG processing.")
1749417494
(synopsis "Check links in files")
1749517495
(description "Plugin for pytest that checks URLs for HTML-containing files")
1749617496
(license license:bsd-3)))
17497+
17498+
(define-public python-json5
17499+
(package
17500+
(name "python-json5")
17501+
(version "0.8.5")
17502+
(source
17503+
(origin
17504+
;; sample.json5 is missing from PyPi source tarball
17505+
(method git-fetch)
17506+
(uri (git-reference
17507+
(url "https://github.com/dpranke/pyjson5.git")
17508+
(commit (string-append "v" version))))
17509+
(file-name (git-file-name name version))
17510+
(sha256
17511+
(base32 "0nyngj18jlkgvm1177lc3cj47wm4yh3dqigygvcvw7xkyryafsqn"))))
17512+
(build-system python-build-system)
17513+
(home-page "https://github.com/dpranke/pyjson5")
17514+
(synopsis
17515+
"Python implementation of the JSON5 data format")
17516+
(description
17517+
"JSON5 extends the JSON data interchange format to make it slightly more
17518+
usable as a configuration language. This Python package implements parsing and
17519+
dumping of JSON5 data structures.")
17520+
(license license:asl2.0)))

0 commit comments

Comments
 (0)