summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2020-09-26 20:23:39 +0200
committerJulien Lepiller <julien@lepiller.eu>2020-10-14 03:05:41 +0200
commitfafd543fac7231fb89218739325933c17bd07de4 (patch)
treea4696df167fa9f7bda321436651dc2590b35842c /gnu/packages
parent2039cf373b2ee77b456d89555a0d94767cd2c37c (diff)
downloadguix-fafd543fac7231fb89218739325933c17bd07de4.tar.gz
gnu: Add java-asm-8.
* gnu/packages/java.scm (java-asm-8): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/java.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index f4df4d1ed7..80ab8429fd 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -5140,6 +5140,30 @@ including java-asm.")
        ((#:tests? _) #f)))
     (native-inputs `())))
 
+(define-public java-asm-8
+  (package
+    (inherit java-asm)
+    (version "8.0.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://gitlab.ow2.org/asm/asm")
+                     (commit (string-append
+                               "ASM_" (string-join (string-split version #\.)
+                                                   "_")))))
+              (file-name (git-file-name "java-asm" version))
+              (sha256
+               (base32
+                "1s6j27zc1i76gh891w2g48b1c3abp9w8zp5j54yb1vm5h8djkd69"))))
+    (arguments
+     `(#:jar-name "asm8.jar"
+       #:source-dir "asm/src/main/java"
+       #:test-dir "asm/src/test"
+       ;; tests depend on junit5
+       #:tests? #f))
+    (propagated-inputs '())
+    (native-inputs '())))
+
 (define-public java-cglib
   (package
     (name "java-cglib")