gnu: Add java-brotli.

* gnu/packages/compression.scm (java-brotli): New variable.
This commit is contained in:
Julien Lepiller 2022-10-15 20:23:34 +02:00
parent 53c8cbb314
commit b347ef494d
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -58,6 +58,7 @@ (define-module (gnu packages compression)
#: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 @@ (define-module (gnu packages compression)
#: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 @@ (define-public python-brotli
(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")