summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2022-10-15 20:23:34 +0200
committerJulien Lepiller <julien@lepiller.eu>2022-11-03 15:11:20 +0100
commitb347ef494d726a009fbb4e11f1663c670131db61 (patch)
treea8d80ea9de958100761e88b88ff0bca77f330f53
parent53c8cbb31428322e16c255f73fb7f7670ef7f8aa (diff)
gnu: Add java-brotli.
* gnu/packages/compression.scm (java-brotli): New variable.
-rw-r--r--gnu/packages/compression.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 857722ef4a..c258302d5c 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -58,6 +58,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
+ #:use-module (guix build-system ant)
#:use-module (guix build-system cmake)
#:use-module (guix build-system glib-or-gtk)
#:use-module (guix build-system gnu)
@@ -82,6 +83,7 @@
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
#:use-module (gnu packages gtk)
+ #:use-module (gnu packages java)
#:use-module (gnu packages llvm)
#:use-module (gnu packages man)
#:use-module (gnu packages maths)
@@ -2264,6 +2266,19 @@ package, an implementation of the Brotli lossless compression algorithm.")))
(define-public python-google-brotli
(deprecated-package "python-google-brotli" python-brotli))
+(define-public java-brotli
+ (package
+ (inherit brotli)
+ (name "java-brotli")
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "java-brotli.jar"
+ #:source-dir "java"
+ ;; Tests are mixed in with java sources, the ant build system
+ ;; doesn't allow that
+ #:tests? #f))
+ (native-inputs (list java-junit))))
+
(define-public ucl
(package
(name "ucl")