Subject: [bug#30570] [PATCH 13/16] gnu: Add google-brotli.

From: [email-masked] (Ludovic Courtès)
Date: Sat, 03 Mar 2018 22:47:49 +0100

Leo Famulari <[email-masked]> skribis:

> * gnu/packages/compression.scm (google-brotli): New variable.

[...]

> +         (add-after 'install 'rename-static-libraries
> +           ;; The build tools put a 'static' suffix on the static libraries, but
> +           ;; other applications don't know how to find these.
> +           (let ((lib (string-append (assoc-ref %outputs "out") "/lib/")))
> +             (lambda _

Rather: (lambda (#:key outputs #:allow-other-keys)
          (let ((lib (string-append (assoc-ref outputs "out") "/lib/")))
            ...))

> +    (home-page "https://github.com/google/brotli")
> +    (synopsis "General-purpose lossless compression")
> +    (description "This package provides the reference implementation of Brotli,
> +a generic-purpose lossless compression algorithm that compresses data using a
> +combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd
> +order context modeling, with a compression ratio comparable to the best
> +currently available general-purpose compression methods. It is similar in speed
                                                           ^
Missing space.  :-)

Otherwise LGTM.