summaryrefslogtreecommitdiff
path: root/gnu
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
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')
-rw-r--r--gnu/packages/java.scm73
-rw-r--r--gnu/packages/lisp.scm105
2 files changed, 95 insertions, 83 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
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 77a0e0b446f..c75558a56ab 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -1,38 +1,44 @@
1;;; GNU Guix --- Functional package management for GNU 1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2014 John Darrington <jmd@gnu.org> 2;;; Copyright © 2014 John Darrington <jmd@gnu.org>
3;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
4;;; Copyright © 2015 Mark H Weaver <mhw@netris.org> 3;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
4;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
5;;; Copyright © 2016 Federico Beffa <beffa@fbengineering.ch> 5;;; Copyright © 2016 Federico Beffa <beffa@fbengineering.ch>
6;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
7;;; Copyright © 2016, 2017 Andy Patterson <ajpatter@uwaterloo.ca> 6;;; Copyright © 2016, 2017 Andy Patterson <ajpatter@uwaterloo.ca>
7;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
8;;; Copyright © 2017, 2019, 2020 Ricardo Wurmus <rekado@elephly.net> 8;;; Copyright © 2017, 2019, 2020 Ricardo Wurmus <rekado@elephly.net>
9;;; Copyright © 2017-2019, 2022, 2023 Efraim Flashner <efraim@flashner.co.il>
10;;; Copyright © 2017, 2019–2022 Tobias Geerinckx-Rice <me@tobias.gr> 9;;; Copyright © 2017, 2019–2022 Tobias Geerinckx-Rice <me@tobias.gr>
11;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net> 10;;; Copyright © 2017-2019, 2022, 2023 Efraim Flashner <efraim@flashner.co.il>
12;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com> 11;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
13;;; Copyright © 2018, 2019, 2020 Pierre Neidhardt <mail@ambrevar.xyz> 12;;; Copyright © 2018 Benjamin Slade <slade@jnanam.net>
14;;; Copyright © 2018, 2019 Pierre Langlois <pierre.langlois@gmx.com> 13;;; Copyright © 2018, 2019 Pierre Langlois <pierre.langlois@gmx.com>
15;;; Copyright © 2019, 2020 Katherine Cox-Buday <cox.katherine.e@gmail.com> 14;;; Copyright © 2018, 2019, 2020, 2022 Pierre Neidhardt <mail@ambrevar.xyz>
15;;; Copyright © 2019 Carlo Zancanaro <carlo@zancanaro.id.au>
16;;; Copyright © 2019 Jesse Gildersleve <jessejohngildersleve@protonmail.com> 16;;; Copyright © 2019 Jesse Gildersleve <jessejohngildersleve@protonmail.com>
17;;; Copyright © 2019, 2020 Katherine Cox-Buday <cox.katherine.e@gmail.com>
17;;; Copyright © 2019-2025 Guillaume Le Vaillant <glv@posteo.net> 18;;; Copyright © 2019-2025 Guillaume Le Vaillant <glv@posteo.net>
18;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com> 19;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
19;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com> 20;;; Copyright © 2020 Zhu Zihao <all_but_last@163.com>
20;;; Copyright © 2021, 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
21;;; Copyright © 2021 Paul A. Patience <paul@apatience.com>
22;;; Copyright © 2021 Charles Jackson <charles.b.jackson@protonmail.com> 21;;; Copyright © 2021 Charles Jackson <charles.b.jackson@protonmail.com>
23;;; Copyright © 2022 Joeke de Graaf <joeke@posteo.net> 22;;; Copyright © 2021 Ludovic Courtès <ludo@gnu.org>
23;;; Copyright © 2021 Vincent Legoll <vincent.legoll@gmail.com>
24;;; Copyright © 2021, 2022, 2025 jgart <jgart@dismail.de> 24;;; Copyright © 2021, 2022, 2025 jgart <jgart@dismail.de>
25;;; Copyright © 2021, 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
26;;; Copyright © 2021, 2024 Paul A. Patience <paul@apatience.com>
25;;; Copyright © 2022 ( <paren@disroot.org> 27;;; Copyright © 2022 ( <paren@disroot.org>
26;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> 28;;; Copyright © 2022 Joeke de Graaf <joeke@posteo.net>
27;;; Copyright © 2023 Yovan Naumovski <yovan@gorski.stream> 29;;; Copyright © 2022 Pierre Neidhardt <mail@ambrevar.xyz>
28;;; Copyright © 2023 Andrew Kravchuk <awkravchuk@gmail.com> 30;;; Copyright © 2023 Andrew Kravchuk <awkravchuk@gmail.com>
31;;; Copyright © 2023 Artyom Bologov <mail@aartaka.me>
32;;; Copyright © 2023 Yovan Naumovski <yovan@gorski.stream>
33;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
29;;; Copyright © 2024 Andreas Enge <andreas@enge.fr> 34;;; Copyright © 2024 Andreas Enge <andreas@enge.fr>
30;;; Copyright © 2024 bigbug <bigbookofbug@proton.me> 35;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
31;;; Copyright © 2024, 2025 Ashish SHUKLA <ashish.is@lostca.se>
32;;; Copyright © 2024 Omar Bassam <omar.bassam88@gmail.com>
33;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca>
34;;; Copyright © 2024 David Pflug <david@pflug.io> 36;;; Copyright © 2024 David Pflug <david@pflug.io>
35;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org> 37;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
38;;; Copyright © 2024 Omar Bassam <omar.bassam88@gmail.com>
39;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca>
40;;; Copyright © 2024 bigbug <bigbookofbug@proton.me>
41;;; Copyright © 2024, 2025 Ashish SHUKLA <ashish.is@lostca.se>
36;;; Copyright © 2026 Igorj Gorjaĉev <igor@goryachev.org> 42;;; Copyright © 2026 Igorj Gorjaĉev <igor@goryachev.org>
37;;; Copyright © 2026 Simen Endsjø <contact@simendsjo.me> 43;;; Copyright © 2026 Simen Endsjø <contact@simendsjo.me>
38;;; 44;;;
@@ -81,6 +87,7 @@
81 #:use-module (gnu packages haskell-check) 87 #:use-module (gnu packages haskell-check)
82 #:use-module (gnu packages haskell-web) 88 #:use-module (gnu packages haskell-web)
83 #:use-module (gnu packages haskell-xyz) 89 #:use-module (gnu packages haskell-xyz)
90 #:use-module (gnu packages java)
84 #:use-module (gnu packages libffcall) 91 #:use-module (gnu packages libffcall)
85 #:use-module (gnu packages libffi) 92 #:use-module (gnu packages libffi)
86 #:use-module (gnu packages libsigsegv) 93 #:use-module (gnu packages libsigsegv)
@@ -107,6 +114,7 @@
107 #:use-module (gnu packages version-control) 114 #:use-module (gnu packages version-control)
108 #:use-module (gnu packages xorg) 115 #:use-module (gnu packages xorg)
109 #:use-module (gnu packages) 116 #:use-module (gnu packages)
117 #:use-module (guix build-system ant)
110 #:use-module (guix build-system copy) 118 #:use-module (guix build-system copy)
111 #:use-module (guix build-system gnu) 119 #:use-module (guix build-system gnu)
112 #:use-module (guix build-system haskell) 120 #:use-module (guix build-system haskell)
@@ -121,6 +129,73 @@
121 #:use-module (ice-9 match) 129 #:use-module (ice-9 match)
122 #:use-module (srfi srfi-1)) 130 #:use-module (srfi srfi-1))
123 131
132(define-public abcl
133 (package
134 (name "abcl")
135 (version "1.9.3")
136 (source
137 (origin
138 (method url-fetch)
139 (uri (string-append "https://abcl.org/releases/"
140 version "/abcl-src-" version ".tar.gz"))
141 (sha256
142 (base32
143 "1zxjpwv98bq2yd5qg08sbkajj17m7b8xmzqhw296161s7lia215v"))
144 (patches
145 (search-patches
146 "abcl-fix-build-xml.patch"))))
147 (build-system ant-build-system)
148 (native-inputs
149 (list java-junit))
150 (arguments
151 `(#:build-target "abcl.jar"
152 #:test-target "abcl.test"
153 #:phases
154 (modify-phases %standard-phases
155 (replace 'install
156 (lambda* (#:key outputs #:allow-other-keys)
157 (let ((share (string-append (assoc-ref outputs "out")
158 "/share/java/"))
159 (bin (string-append (assoc-ref outputs "out")
160 "/bin/")))
161 (mkdir-p share)
162 (install-file "dist/abcl.jar" share)
163 (install-file "dist/abcl-contrib.jar" share)
164 (mkdir-p bin)
165 (with-output-to-file (string-append bin "abcl")
166 (lambda _
167 (let ((classpath (string-append
168 share "abcl.jar"
169 ":"
170 share "abcl-contrib.jar")))
171 (display (string-append
172 "#!" (which "bash") "\n"
173 "if [[ -z $CLASSPATH ]]; then\n"
174 " cp=\"" classpath "\"\n"
175 "else\n"
176 " cp=\"" classpath ":$CLASSPATH\"\n"
177 "fi\n"
178 "exec " (which "java")
179 " -cp \"$cp\" org.armedbear.lisp.Main \"$@\"\n")))))
180 (chmod (string-append bin "abcl") #o755)
181 #t))))))
182 (home-page "https://abcl.org/")
183 (synopsis "Common Lisp Implementation on the JVM")
184 (description
185 "@acronym{ABCL,Armed Bear Common Lisp} is a full implementation of the
186Common Lisp language featuring both an interpreter and a compiler, running in
187the JVM. It supports JSR-223 (Java scripting API): it can be a scripting
188engine in any Java application. Additionally, it can be used to
189implement (parts of) the application using Java to Lisp integration APIs.")
190 (native-search-paths
191 (list (search-path-specification
192 (variable "XDG_DATA_DIRS")
193 (files '("share")))))
194 (license
195 (list license:gpl2+
196 license:bsd-3 ; named-readtables
197 license:cpl1.0)))) ; jfli
198
124(define-public buildapp 199(define-public buildapp
125 (package 200 (package
126 (name "buildapp") 201 (name "buildapp")