diff options
| author | Mathieu Lirzin <mthl@gnu.org> | 2025-12-27 02:16:43 +0100 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:31:02 +0100 |
| commit | 9af25edaaf8569640a554a74577102165ab9daae (patch) | |
| tree | fc7c7ef2525ee5762d4c58ef21d24c8c485f5db4 | |
| parent | ef24686b208234ed74e93b139db1564030fbb78b (diff) | |
gnu: clojure: Update to 1.12.4.
* gnu/packages/clojure.scm (clojure): Update to 1.12.4 and lint.
Change-Id: I6c540ffe6fdce267e094f9f86c8b6a9d4a8efbc3
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
| -rw-r--r-- | gnu/packages/clojure.scm | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm index a892df4dd96..cd1f602cdc2 100644 --- a/gnu/packages/clojure.scm +++ b/gnu/packages/clojure.scm | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | ;;; Copyright © 2019 Jesse Gibbons <jgibbons2357+guix@gmail.com> | 5 | ;;; Copyright © 2019 Jesse Gibbons <jgibbons2357+guix@gmail.com> |
| 6 | ;;; Copyright © 2020 Ludovic Courtès <ludo@gnu.org> | 6 | ;;; Copyright © 2020 Ludovic Courtès <ludo@gnu.org> |
| 7 | ;;; Copyright © 2024 Roman Scherer <roman@burningswell.com> | 7 | ;;; Copyright © 2024 Roman Scherer <roman@burningswell.com> |
| 8 | ;;; Copyright © 2025 Mathieu Lirzin <mthl@gnu.org> | ||
| 8 | ;;; | 9 | ;;; |
| 9 | ;;; This file is part of GNU Guix. | 10 | ;;; This file is part of GNU Guix. |
| 10 | ;;; | 11 | ;;; |
| @@ -81,7 +82,7 @@ | |||
| 81 | 82 | ||
| 82 | (package | 83 | (package |
| 83 | (name "clojure") | 84 | (name "clojure") |
| 84 | (version "1.12.0") | 85 | (version "1.12.4") |
| 85 | (source (let ((name+version (string-append name "-" version))) | 86 | (source (let ((name+version (string-append name "-" version))) |
| 86 | (origin | 87 | (origin |
| 87 | (method git-fetch) | 88 | (method git-fetch) |
| @@ -90,10 +91,10 @@ | |||
| 90 | (commit name+version))) | 91 | (commit name+version))) |
| 91 | (file-name (string-append name+version "-checkout")) | 92 | (file-name (string-append name+version "-checkout")) |
| 92 | (sha256 | 93 | (sha256 |
| 93 | (base32 "17f62x9qq71yhcfpg2npv19xi9wcpgqj255nmvpfy1z2md64gawz"))))) | 94 | (base32 |
| 95 | "072dv6s2gxcg8snlgkpjk6bp1cb17bgfshdq6ijsa4yslpqbf9wc"))))) | ||
| 94 | (build-system ant-build-system) | 96 | (build-system ant-build-system) |
| 95 | (inputs | 97 | (inputs (list icedtea)) |
| 96 | `(("jre" ,icedtea))) | ||
| 97 | (arguments | 98 | (arguments |
| 98 | `(#:imported-modules ((guix build clojure-utils) | 99 | `(#:imported-modules ((guix build clojure-utils) |
| 99 | (guix build clojure-build-system) | 100 | (guix build clojure-build-system) |
| @@ -166,13 +167,20 @@ | |||
| 166 | (display (string-append "maven.compile.classpath=" classpath "\n")) | 167 | (display (string-append "maven.compile.classpath=" classpath "\n")) |
| 167 | (display (string-append "maven.test.classpath=" classpath "\n"))))) | 168 | (display (string-append "maven.test.classpath=" classpath "\n"))))) |
| 168 | #t)) | 169 | #t)) |
| 170 | (add-before 'check 'fix-test-classpath | ||
| 171 | ;; Some java test files need access to compiled classes. | ||
| 172 | (lambda _ | ||
| 173 | (substitute* "build.xml" | ||
| 174 | (("javac srcdir=\"\\$\\{jtestsrc\\}\"" cmd) | ||
| 175 | (string-append cmd " classpath=\"${build}\""))))) | ||
| 169 | (add-after 'build 'build-javadoc ant-build-javadoc) | 176 | (add-after 'build 'build-javadoc ant-build-javadoc) |
| 170 | (replace 'install (install-jars "./")) | 177 | (replace 'install (install-jars "./")) |
| 171 | (add-after 'install-license-files 'install-doc | 178 | (add-after 'install-license-files 'install-doc |
| 172 | (cut install-doc #:doc-dirs '("doc/clojure/") <...>)) | 179 | (cut install-doc #:doc-dirs '("doc/clojure/") <...>)) |
| 173 | (add-after 'install-doc 'install-javadoc | 180 | (add-after 'install-doc 'install-javadoc |
| 174 | (install-javadoc "target/javadoc/")) | 181 | (install-javadoc "target/javadoc/")) |
| 175 | (add-after 'reset-gzip-timestamps 'reset-class-timestamps clj:reset-class-timestamps)))) | 182 | (add-after 'reset-gzip-timestamps 'reset-class-timestamps |
| 183 | clj:reset-class-timestamps)))) | ||
| 176 | (native-inputs libraries) | 184 | (native-inputs libraries) |
| 177 | (home-page "https://clojure.org/") | 185 | (home-page "https://clojure.org/") |
| 178 | (synopsis "Lisp dialect running on the JVM") | 186 | (synopsis "Lisp dialect running on the JVM") |
