diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2022-12-03 10:29:50 +0100 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-01-08 16:27:58 +0100 |
commit | 74e527516791210bef54983fa2af3ec01275e6c4 (patch) | |
tree | 85fdfbcf4077e5e47ac84aad7a1380b0dd7695d8 /gnu/packages/java.scm | |
parent | f5ea392b9cd3851ed7517876a8cd4beb13893c9c (diff) | |
download | guix-patches-74e527516791210bef54983fa2af3ec01275e6c4.tar guix-patches-74e527516791210bef54983fa2af3ec01275e6c4.tar.gz |
gnu: Add java-antlr4-runtime-python.
* gnu/packages/java.scm (java-antlr4-runtime-python): New variable.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r-- | gnu/packages/java.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index fc7ea120a8..eb550c9234 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -49,6 +49,7 @@ #: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 @@ sources by ANTLR.") (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) |