summaryrefslogtreecommitdiff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorAnderson Torres <anderson.torres.8519@gmail.com>2026-06-01 22:13:51 -0300
committerGuillaume Le Vaillant <glv@posteo.net>2026-07-18 17:12:05 +0200
commit30d21c3c85f7b8a21ee4fcdc21896852eb7936e5 (patch)
tree1a7bc49190e0757c978515f9df40cbf331857dbc /gnu/packages/java.scm
parentf2848ecec8ace8eb1d5ee793a0f3e1b4d1acc921 (diff)
gnu: abcl: Move to (gnu packages lisp).
* gnu/packages/lisp.scm (abcl): Move to here ... * gnu/packages/java.scm: ... from here. (abcl): Define deprecated public alias. Change-Id: I7444fa306f7a443a30d64848277ac788e2625f89 Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm73
1 files changed, 5 insertions, 68 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index abd616cd60e..be2476875d1 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -95,6 +95,7 @@
95 #:use-module (guix build-system gnu) 95 #:use-module (guix build-system gnu)
96 #:use-module (guix build-system maven) 96 #:use-module (guix build-system maven)
97 #:use-module (guix build-system pyproject) 97 #:use-module (guix build-system pyproject)
98 #:use-module (guix deprecation)
98 #:use-module (guix download) 99 #:use-module (guix download)
99 #:use-module (guix gexp) 100 #:use-module (guix gexp)
100 #:use-module (guix git-download) 101 #:use-module (guix git-download)
@@ -15998,74 +15999,6 @@ using the JSch library.")
15998JGit using the Bouncy Castle cryptographic library.") 15999JGit using the Bouncy Castle cryptographic library.")
15999 (license license:edl1.0))) 16000 (license license:edl1.0)))
16000 16001
16001(define-public abcl
16002 (package
16003 (name "abcl")
16004 (version "1.9.3")
16005 (source
16006 (origin
16007 (method url-fetch)
16008 (uri (string-append "https://abcl.org/releases/"
16009 version "/abcl-src-" version ".tar.gz"))
16010 (sha256
16011 (base32
16012 "1zxjpwv98bq2yd5qg08sbkajj17m7b8xmzqhw296161s7lia215v"))
16013 (patches
16014 (search-patches
16015 "abcl-fix-build-xml.patch"))))
16016 (build-system ant-build-system)
16017 (native-inputs
16018 (list java-junit))
16019 (arguments
16020 `(#:build-target "abcl.jar"
16021 #:test-target "abcl.test"
16022 #:phases
16023 (modify-phases %standard-phases
16024 (replace 'install
16025 (lambda* (#:key outputs #:allow-other-keys)
16026 (let ((share (string-append (assoc-ref outputs "out")
16027 "/share/java/"))
16028 (bin (string-append (assoc-ref outputs "out")
16029 "/bin/")))
16030 (mkdir-p share)
16031 (install-file "dist/abcl.jar" share)
16032 (install-file "dist/abcl-contrib.jar" share)
16033 (mkdir-p bin)
16034 (with-output-to-file (string-append bin "abcl")
16035 (lambda _
16036 (let ((classpath (string-append
16037 share "abcl.jar"
16038 ":"
16039 share "abcl-contrib.jar")))
16040 (display (string-append
16041 "#!" (which "bash") "\n"
16042 "if [[ -z $CLASSPATH ]]; then\n"
16043 " cp=\"" classpath "\"\n"
16044 "else\n"
16045 " cp=\"" classpath ":$CLASSPATH\"\n"
16046 "fi\n"
16047 "exec " (which "java")
16048 " -cp \"$cp\" org.armedbear.lisp.Main \"$@\"\n")))))
16049 (chmod (string-append bin "abcl") #o755)
16050 #t))))))
16051 (home-page "https://abcl.org/")
16052 (synopsis "Common Lisp Implementation on the JVM")
16053 (description
16054 "@dfn{Armed Bear Common Lisp} (ABCL) is a full implementation of the Common
16055Lisp language featuring both an interpreter and a compiler, running in the
16056JVM. It supports JSR-223 (Java scripting API): it can be a scripting engine
16057in any Java application. Additionally, it can be used to implement (parts of)
16058the application using Java to Lisp integration APIs.")
16059 (native-search-paths
16060 (list (search-path-specification
16061 (variable "XDG_DATA_DIRS")
16062 (files '("share")))))
16063 (license (list license:gpl2+
16064 ;; named-readtables is released under 3 clause BSD
16065 license:bsd-3
16066 ;; jfli is released under CPL 1.0
16067 license:cpl1.0))))
16068
16069(define-public java-jsonp-api 16002(define-public java-jsonp-api
16070 (package 16003 (package
16071 (name "java-jsonp-api") 16004 (name "java-jsonp-api")
@@ -16820,6 +16753,10 @@ The following TLA+ tools are available in this distribution:
16820@end itemize") 16753@end itemize")
16821 (license license:expat)))) 16754 (license license:expat))))
16822 16755
16756;; Deprecated at 2026-06-01
16757(define-deprecated/public-alias abcl
16758 (@ (gnu packages lisp) abcl))
16759
16823;;; 16760;;;
16824;;; Avoid adding new packages to the end of this file. To reduce the chances 16761;;; Avoid adding new packages to the end of this file. To reduce the chances
16825;;; of a merge conflict, place them above by existing packages with similar 16762;;; of a merge conflict, place them above by existing packages with similar