[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#59798] [PATCH 1/6] gnu: Add java-antlr4-runtime-python.
From: |
Liliana Marie Prikler |
Subject: |
[bug#59798] [PATCH 1/6] gnu: Add java-antlr4-runtime-python. |
Date: |
Sat, 3 Dec 2022 10:29:50 +0100 |
* gnu/packages/java.scm (java-antlr4-runtime-python): New variable.
---
gnu/packages/java.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index f80406cab9..bc6e7057cb 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -49,6 +49,7 @@ (define-module (gnu packages java)
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system maven)
+ #:use-module (guix build-system python)
#:use-module (guix build-system trivial)
#:use-module (gnu packages)
#:use-module (gnu packages attr)
@@ -8694,6 +8695,26 @@ (define-public java-antlr4-runtime-cpp
(description "This package contains the C++ runtime library used with C++
generated sources by ANTLR.")))
+(define-public java-antlr4-runtime-python
+ (package
+ (inherit java-antlr4-runtime)
+ (name "java-antlr4-runtime-python")
+ (outputs '("out"))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:tests? #f ; tests require antlr
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "runtime/Python3"))))))
+ (native-inputs (list pkg-config))
+ (inputs (list `(,util-linux "lib"))) ; libuuid
+ (synopsis "ANTLR Python runtime library")
+ (description "This package contains the Python runtime library used with
+Python generated sources by ANTLR.")))
+
(define-public antlr4
(package
(inherit java-antlr4-runtime)
--
2.38.1
- [bug#59798] [PATCH 0/6] Add CommonRoad, Liliana Marie Prikler, 2022/12/03
- [bug#59798] [PATCH 1/6] gnu: Add java-antlr4-runtime-python.,
Liliana Marie Prikler <=
- [bug#59798] [PATCH 5/6] gnu: Add python-commonroad-io., Liliana Marie Prikler, 2022/12/03
- [bug#59798] [PATCH 4/6] gnu: Add python-commonroad-vehicle-models., Liliana Marie Prikler, 2022/12/03
- [bug#59798] [PATCH 2/6] gnu: Add python-omegaconf., Liliana Marie Prikler, 2022/12/03
- [bug#59798] [PATCH 6/6] gnu: Add python-commonroad-route-planner., Liliana Marie Prikler, 2022/12/03
- [bug#59798] [PATCH 3/6] gnu: python-iso3166: Update to 2.1.1., Liliana Marie Prikler, 2022/12/03