Skip to content

Commit e6064be

Browse files
committed
gnu: Add package python-json5
* gnu/packages/python-xyz.scm (python-json5): New variable.
1 parent 50e4498 commit e6064be

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
@@ -17598,3 +17598,27 @@ sequences.")
1759817598
(synopsis "Check links in files")
1759917599
(description "Plugin for pytest that checks URLs for HTML-containing files")
1760017600
(license license:bsd-3)))
17601+
17602+
(define-public python-json5
17603+
(package
17604+
(name "python-json5")
17605+
(version "0.8.5")
17606+
(source
17607+
(origin
17608+
;; sample.json5 is missing from PyPi source tarball
17609+
(method git-fetch)
17610+
(uri (git-reference
17611+
(url "https://github.com/dpranke/pyjson5.git")
17612+
(commit (string-append "v" version))))
17613+
(file-name (git-file-name name version))
17614+
(sha256
17615+
(base32 "0nyngj18jlkgvm1177lc3cj47wm4yh3dqigygvcvw7xkyryafsqn"))))
17616+
(build-system python-build-system)
17617+
(home-page "https://github.com/dpranke/pyjson5")
17618+
(synopsis
17619+
"Python implementation of the JSON5 data format")
17620+
(description
17621+
"JSON5 extends the JSON data interchange format to make it slightly more
17622+
usable as a configuration language. This Python package implements parsing and
17623+
dumping of JSON5 data structures.")
17624+
(license license:asl2.0)))

0 commit comments

Comments
 (0)