diff options
author | Julien Lepiller <julien@lepiller.eu> | 2022-10-15 22:06:13 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2022-11-03 15:11:28 +0100 |
commit | eaf4441b620df4902bf91f1404aa6d8b006d8dbe (patch) | |
tree | 7e79e61f005cf34c1e39de2060d1ebf4dca2aa89 | |
parent | cd7f674010321230998e824ff7bee9fab90f6898 (diff) | |
download | guix-eaf4441b620df4902bf91f1404aa6d8b006d8dbe.tar.gz |
gnu: Add java-asm-3.
* gnu/packages/java.scm (java-asm): New variable.
-rw-r--r-- | gnu/packages/java.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 97dedae58f..4de62a782c 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -5332,6 +5332,31 @@ including java-asm.") ((#:tests? _) #f))) (native-inputs `()))) +(define-public java-asm-3 + (package + (inherit java-asm) + (version "3.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.ow2.org/asm/asm") + (commit "ASM_3_1"))) + (file-name (git-file-name "java-asm" version)) + (sha256 + (base32 + "0xbyf2sl8j6mrvfpg2da0vjdp906rac62l66gkk82x5cn3vc30h4")) + (modules '((guix build utils))) + (snippet `(for-each delete-file (find-files "." "\\.jar$"))))) + (arguments + `(#:build-target "jar" + #:test-target "test" + #:tests? #f; require legacy test software + #:phases + (modify-phases %standard-phases + (replace 'install (install-jars "output/dist")) + (delete 'generate-jar-indices)))) + (native-inputs (list java-ow-util-ant-tasks)))) + (define-public java-asm-8 (package (inherit java-asm) |