diff options
Diffstat (limited to 'gnu/packages/java-compression.scm')
| -rw-r--r-- | gnu/packages/java-compression.scm | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/gnu/packages/java-compression.scm b/gnu/packages/java-compression.scm index 5f653bcc94f..033b55c988e 100644 --- a/gnu/packages/java-compression.scm +++ b/gnu/packages/java-compression.scm | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | ;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com> | 4 | ;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com> |
| 5 | ;;; Copyright © 2018 Mark H Weaver <mhw@netris.org> | 5 | ;;; Copyright © 2018 Mark H Weaver <mhw@netris.org> |
| 6 | ;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr> | 6 | ;;; Copyright © 2018, 2020 Tobias Geerinckx-Rice <me@tobias.gr> |
| 7 | ;;; Copyright © 2021 Efraim Flashner <efraim@flashner.co.il> | ||
| 7 | ;;; | 8 | ;;; |
| 8 | ;;; This file is part of GNU Guix. | 9 | ;;; This file is part of GNU Guix. |
| 9 | ;;; | 10 | ;;; |
| @@ -289,24 +290,19 @@ It can be used as a replacement for the Apache @code{CBZip2InputStream} / | |||
| 289 | (define-public java-xz | 290 | (define-public java-xz |
| 290 | (package | 291 | (package |
| 291 | (name "java-xz") | 292 | (name "java-xz") |
| 292 | (version "1.6") | 293 | (version "1.9") |
| 293 | (source (origin | 294 | (source (origin |
| 294 | (method url-fetch) | 295 | (method url-fetch/zipbomb) |
| 295 | (uri (string-append "https://tukaani.org/xz/xz-java-" version ".zip")) | 296 | (uri (string-append "https://tukaani.org/xz/xz-java-" version ".zip")) |
| 296 | (sha256 | 297 | (sha256 |
| 297 | (base32 | 298 | (base32 |
| 298 | "1z3p1ri1gvl07inxn0agx44ck8n7wrzfmvkz8nbq3njn8r9wba8x")))) | 299 | "007d9f83277qn70swz9inqhyf0qxq6ygajpq5rqg0xgsyh1sdndi")))) |
| 299 | (build-system ant-build-system) | 300 | (build-system ant-build-system) |
| 300 | (arguments | 301 | (arguments |
| 301 | `(#:tests? #f; no tests | 302 | `(#:tests? #f; no tests |
| 303 | #:jdk ,openjdk9 | ||
| 302 | #:phases | 304 | #:phases |
| 303 | (modify-phases %standard-phases | 305 | (modify-phases %standard-phases |
| 304 | (add-after 'unpack 'chdir | ||
| 305 | (lambda _ | ||
| 306 | ;; Our build system enters the first directory in the archive, but | ||
| 307 | ;; the package is not contained in a subdirectory | ||
| 308 | (chdir "..") | ||
| 309 | #t)) | ||
| 310 | (add-before 'install 'generate-pom | 306 | (add-before 'install 'generate-pom |
| 311 | (lambda _ | 307 | (lambda _ |
| 312 | (copy-file "maven/pom_template.xml" "pom.xml") | 308 | (copy-file "maven/pom_template.xml" "pom.xml") |
