summaryrefslogtreecommitdiff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm14
1 files changed, 10 insertions, 4 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 8e85afe9bbe..0885b182971 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -8926,14 +8926,20 @@ generated sources by ANTLR.")))
8926 (build-system pyproject-build-system) 8926 (build-system pyproject-build-system)
8927 (arguments 8927 (arguments
8928 (list 8928 (list
8929 #:tests? #f ; tests require antlr 8929 #:test-backend #~'custom
8930 #:test-flags #~'("tests/run.py" "--verbose")
8930 #:phases 8931 #:phases
8931 #~(modify-phases %standard-phases 8932 #~(modify-phases %standard-phases
8932 (add-after 'unpack 'chdir 8933 (add-after 'unpack 'chdir
8933 (lambda _ 8934 (lambda _
8934 (chdir "runtime/Python3")))))) 8935 (chdir "runtime/Python3")))
8935 (native-inputs (list pkg-config python-setuptools)) 8936 (add-after 'chdir 'regenerate-parsers
8936 (inputs (list `(,util-linux "lib"))) ; libuuid 8937 (lambda _
8938 (invoke "antlr4" "-no-listener" "-Dlanguage=Python3"
8939 "src/antlr4/xpath/XPathLexer.g4")
8940 (invoke "antlr4" "-no-listener" "-Dlanguage=Python3"
8941 "tests/expr/Expr.g4"))))))
8942 (native-inputs (list antlr4 python-setuptools))
8937 (synopsis "ANTLR Python runtime library") 8943 (synopsis "ANTLR Python runtime library")
8938 (description "This package contains the Python runtime library used with 8944 (description "This package contains the Python runtime library used with
8939Python generated sources by ANTLR."))) 8945Python generated sources by ANTLR.")))