From 77afe03cf9e90f597571b4181f620da0997e84af Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 2 May 2022 00:38:02 -0400 Subject: gnu: Add python-jstyleson. * gnu/packages/python-web.scm (python-jstyleson): New variable. --- gnu/packages/python-web.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 7feac5955f..cb52db3bbd 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7368,3 +7368,22 @@ scraping framework, used to crawl websites and extract structured data from their pages. It can be used for a wide range of purposes, from data mining to monitoring and automated testing.") (license license:bsd-3))) + +(define-public python-jstyleson + (package + (name "python-jstyleson") + (version "0.0.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "jstyleson" version)) + (sha256 + (base32 "13ihw6jqwkg3ai4xb83kw39pvh73b2wg6ld3wvj5jaasn7rh6038")))) + (build-system python-build-system) + (arguments (list #:tests? #f)) ;no tests in pypi release + (home-page "https://github.com/linjackson78/jstyleson") + (synopsis "JSON parser supporting js-style comments") + (description "@code{jstyleson} is a Python library to parse JSON. +Contrary to the standard Python @code{json} library, it understands js-style +comments. Trailing comma is also supported.") + (license license:expat))) -- cgit v1.2.3