Subject: [PATCH] gnu: Add java-asm-commons
From: "Artyom V. Poptsov" <[email-masked]>
To: [email-masked]
Date: Sat, 18 Jun 2022 19:44:52 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

this patch adds Java ASM Commons under the name 'java-asm-commons'.

From b1ed1fdafdbece68b704982d18a32c6cbc26016e Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <[email-masked]>
Date: Sat, 18 Jun 2022 19:40:00 +0300
Subject: [PATCH] gnu: Add java-asm-commons

* gnu/packages/java.scm (java-asm-commons-8): New variable.
---
 gnu/packages/java.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index d2fbf840a0..fd007ff562 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -5469,6 +5469,21 @@ including java-asm.")
     (inputs
      (list java-asm-8 java-asm-analysis-8 java-asm-tree-8))))
 
+(define-public java-asm-commons-8
+  (package
+    (inherit java-asm-8)
+    (name "java-asm-commons")
+    (arguments
+     (list #:jar-name "asm-commons8.jar"
+           #:source-dir "asm-commons/src/main/java"
+           #:test-dir "asm-commons/src/test"
+           ;; tests depend on junit5
+           #:tests? #f))
+    (inputs
+     (list java-asm-8
+           java-asm-analysis-8
+           java-asm-tree-8))))
+
 (define-public java-cglib
   (package
     (name "java-cglib")
-- 
2.25.1

Thanks,

- Artyom

-- 
Artyom "avp" Poptsov <[email-masked]>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F