[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/20: gnu: Add java-tukaani-xz.
From: |
julien lepiller |
Subject: |
16/20: gnu: Add java-tukaani-xz. |
Date: |
Sat, 18 Nov 2017 05:32:59 -0500 (EST) |
roptat pushed a commit to branch master
in repository guix.
commit b80027e5e7d32eb39b694afccabaae52f72433e8
Author: Julien Lepiller <address@hidden>
Date: Mon Nov 6 19:22:09 2017 +0100
gnu: Add java-tukaani-xz.
* gnu/packages/java.scm (java-tukaani-xz): New variable.
---
gnu/packages/compression.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 5768d52..34e7107 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -1812,3 +1812,38 @@ of archives.")
without having to worry how it does so, or use different interfaces for each
type by using either Perl modules, or command-line tools on your system.")
(license license:perl-license)))
+
+(define-public java-tukaani-xz
+ (package
+ (name "java-tukaani-xz")
+ (version "1.6")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://tukaani.org/xz/xz-java-" version
".zip"))
+ (sha256
+ (base32
+ "1z3p1ri1gvl07inxn0agx44ck8n7wrzfmvkz8nbq3njn8r9wba8x"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:tests? #f; no tests
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ ;; Our build system enters the first directory in the archive, but
+ ;; the package is not contained in a subdirectory
+ (chdir "..")))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ ;; Do we want to install *Demo.jar?
+ (install-file "build/jar/xz.jar"
+ (string-append
+ (assoc-ref outputs "out")
+ "/share/java/xz.jar")))))))
+ (native-inputs
+ `(("unzip" ,unzip)))
+ (home-page "https://tukaani.org")
+ (synopsis "XZ in Java")
+ (description "Tukaani-xz is an implementation of xz
compression/decompression
+algorithms in Java.")
+ (license license:public-domain)))
- 04/20: licenses: Add cddl1.1., (continued)
- 04/20: licenses: Add cddl1.1., julien lepiller, 2017/11/18
- 08/20: gnu: Add java-commons-csv., julien lepiller, 2017/11/18
- 13/20: gnu: Add java-log4j-1.2-api., julien lepiller, 2017/11/18
- 14/20: gnu: Add java-jdom., julien lepiller, 2017/11/18
- 12/20: gnu: Add java-log4j-core., julien lepiller, 2017/11/18
- 20/20: gnu: Add java-plexus-container-default., julien lepiller, 2017/11/18
- 07/20: gnu: Add java-jeromq., julien lepiller, 2017/11/18
- 18/20: gnu: Add java-plexus-io., julien lepiller, 2017/11/18
- 10/20: gnu: Add java-commons-beanutils., julien lepiller, 2017/11/18
- 15/20: gnu: Add java-geronimo-xbean-reflect., julien lepiller, 2017/11/18
- 16/20: gnu: Add java-tukaani-xz.,
julien lepiller <=
- 19/20: gnu: Add java-plexus-archiver., julien lepiller, 2017/11/18