From bd87844e37388d54598bb5638c3e6368f8f8b014 Mon Sep 17 00:00:00 2001 From: Vinicius Monego Date: Mon, 24 May 2021 18:32:59 -0300 Subject: [PATCH 3/6] gnu: Add python-antlr4. * gnu/packages/python-xyz.scm (python-antlr4): New variable. --- gnu/packages/python-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index e1ec61fb0c..b102e1c570 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13085,6 +13085,25 @@ fast xml and html manipulation.") xxHash non-cryptographic hash algorithm.") (license license:bsd-2))) +(define-public python-antlr4 + (package + (name "python-antlr4") + (version "4.7.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "antlr4-python3-runtime" version)) + (sha256 + (base32 "02xm7ccsf51vh4xsnhlg6pvchm1x3ckgv9kwm222w5drizndr30n")))) + (arguments + `(#:tests? #f)) ; there are no tests + (build-system python-build-system) + (home-page "https://www.antlr.org") + (synopsis "ANTLR runtime for Python") + (description + "This package provides a ANTLR runtime for Python.") + (license license:bsd-3))) + (define-public python-anyjson (package (name "python-anyjson") -- 2.32.0