[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/31: gnu: Add java-asm.
From: |
Ricardo Wurmus |
Subject: |
01/31: gnu: Add java-asm. |
Date: |
Mon, 15 May 2017 16:33:30 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit d44bcd7ac7295dbcbf0bd103901f277deadb943e
Author: Ricardo Wurmus <address@hidden>
Date: Thu Mar 2 11:50:17 2017 +0100
gnu: Add java-asm.
* gnu/packages/java.scm (java-asm): New variable.
---
gnu/packages/java.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 127f452..c68ff14 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2826,3 +2826,47 @@ import org.antlr.grammar.v2.ANTLRTreePrinter;"))))
`(("junit" ,java-junit)))
(propagated-inputs
`(("stringtemplate" ,stringtemplate3)))))
+
+(define-public java-asm
+ (package
+ (name "java-asm")
+ (version "5.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://download.forge.ow2.org/asm/"
+ "asm-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0kxvmv5275rnjl7jv0442k3wjnq03ngkb7sghs78avf45pzm4qgr"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:build-target "compile"
+ #:test-target "test"
+ ;; The tests require an old version of Janino, which no longer compiles
+ ;; with the JDK7.
+ #:tests? #f
+ ;; We don't need these extra ant tasks, but the build system asks us to
+ ;; provide a path anyway.
+ #:make-flags (list (string-append "-Dobjectweb.ant.tasks.path=foo"))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'install 'build-jars
+ (lambda* (#:key make-flags #:allow-other-keys)
+ ;; We cannot use the "jar" target because it depends on a couple
+ ;; of unpackaged, complicated tools.
+ (mkdir "dist")
+ (zero? (system* "jar"
+ "-cf" (string-append "dist/asm-" ,version ".jar")
+ "-C" "output/build/tmp" "."))))
+ (replace 'install
+ (install-jars "dist")))))
+ (native-inputs
+ `(("java-junit" ,java-junit)))
+ (home-page "http://asm.ow2.org/")
+ (synopsis "Very small and fast Java bytecode manipulation framework")
+ (description "ASM is an all purpose Java bytecode manipulation and
+analysis framework. It can be used to modify existing classes or dynamically
+generate classes, directly in binary form. The provided common
+transformations and analysis algorithms allow to easily assemble custom
+complex transformations and code analysis tools.")
+ (license license:bsd-3)))
- branch master updated (c48a145 -> a5cdcf6), Ricardo Wurmus, 2017/05/15
- 02/31: gnu: Add java-commons-net., Ricardo Wurmus, 2017/05/15
- 04/31: gnu: Add java-usb4java., Ricardo Wurmus, 2017/05/15
- 06/31: gnu: Add java-simple-xml., Ricardo Wurmus, 2017/05/15
- 11/31: gnu: Add java-osgi-service-event., Ricardo Wurmus, 2017/05/15
- 03/31: gnu: Add libusb4java., Ricardo Wurmus, 2017/05/15
- 19/31: gnu: Add java-eclipse-core-expressions., Ricardo Wurmus, 2017/05/15
- 27/31: gnu: Add java-eclipse-text., Ricardo Wurmus, 2017/05/15
- 31/31: gnu: Add java-javax-mail., Ricardo Wurmus, 2017/05/15
- 09/31: gnu: Add java-eclipse-osgi., Ricardo Wurmus, 2017/05/15
- 01/31: gnu: Add java-asm.,
Ricardo Wurmus <=
- 08/31: gnu: Add java-osgi-core., Ricardo Wurmus, 2017/05/15
- 07/31: gnu: Add java-osgi-annotation., Ricardo Wurmus, 2017/05/15
- 12/31: gnu: Add java-eclipse-core-jobs., Ricardo Wurmus, 2017/05/15
- 05/31: gnu: Add java-rsyntaxtextarea., Ricardo Wurmus, 2017/05/15
- 10/31: gnu: Add java-eclipse-equinox-common., Ricardo Wurmus, 2017/05/15
- 14/31: gnu: Add java-eclipse-equinox-app., Ricardo Wurmus, 2017/05/15
- 15/31: gnu: Add java-eclipse-equinox-preferences., Ricardo Wurmus, 2017/05/15
- 13/31: gnu: Add java-eclipse-equinox-registry., Ricardo Wurmus, 2017/05/15
- 16/31: gnu: Add java-eclipse-core-contenttype., Ricardo Wurmus, 2017/05/15
- 17/31: gnu: Add java-eclipse-core-runtime., Ricardo Wurmus, 2017/05/15