Subject: [PATCH 3/6] gnu: Add python-antlr4.

From: Vinicius Monego <[email-masked]>
Date: Fri, 23 Jul 2021 23:25:26 +0000

* 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 2b4ce0cba3..61b1b7d29c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13062,6 +13062,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.30.2