From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34940) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3Uto-0000nc-DG for guix-patches@gnu.org; Sat, 14 Oct 2017 18:27:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3Utj-0000MW-Js for guix-patches@gnu.org; Sat, 14 Oct 2017 18:27:16 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:60256) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e3Utj-0000MJ-Gk for guix-patches@gnu.org; Sat, 14 Oct 2017 18:27:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e3Utj-00066w-7r for guix-patches@gnu.org; Sat, 14 Oct 2017 18:27:11 -0400 Subject: [bug#28841] [PATCH 24/24] gnu: Add java-jboss-javassist. Resent-Message-ID: From: julien@lepiller.eu Date: Sun, 15 Oct 2017 00:23:49 +0200 Message-Id: <20171014222349.12902-24-julien@lepiller.eu> In-Reply-To: <20171014222349.12902-1-julien@lepiller.eu> References: <20171014233216.49c852f7@lepiller.eu> <20171014222349.12902-1-julien@lepiller.eu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 28841@debbugs.gnu.org From: Julien Lepiller * gnu/packages/java.scm (java-jboss-javassist): New variable. --- gnu/packages/java.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 8c396cc2a..8222010e9 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6684,3 +6684,37 @@ Java 6 and above.") interface for writing assertions. Its main goal is to improve test code readability and make maintenance of tests easier.") (license license:asl2.0))) + +(define-public java-jboss-javassist + (package + (name "java-jboss-javassist") + (version "3.21.0") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/jboss-javassist/javassist/" + "archive/rel_" + (string-map (lambda (x) (if (eq? x #\.) #\_ x)) version) + "_ga.tar.gz")) + (sha256 + (base32 + "10lpcr3sbf7y6fq6fc2h2ik7rqrivwcy4747bg0kxhwszil3cfmf")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "java-jboss-javassist.jar" + #:jdk ,icedtea-8 + #:source-dir "src/main" + #:tests? #f; FIXME: requires junit-awtui and junit-swingui from junit3 + #:phases + (modify-phases %standard-phases + (add-before 'configure 'remove-binary + (lambda _ + (delete-file "javassist.jar")))))) + (native-inputs + `(("junit" ,java-junit))) + (home-page "https://github.com/jboss-javassist/javassist") + (synopsis "Java bytecode engineering toolkit") + (description "Javassist (JAVA programming ASSISTant) makes Java bytecode +manipulation simple. It is a class library for editing bytecodes in Java; it +enables Java programs to define a new class at runtime and to modify a class +file when the JVM loads it.") + (license (list license:gpl2 license:cddl1.0)))); either gpl2 only or cddl. -- 2.14.2