diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2021-12-20 23:43:44 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2022-01-10 11:44:43 -0500 |
commit | 53d7e92e6836adc0493bad4dc5347be71749f58e (patch) | |
tree | 25bc91c379748e81785379613eefe38b44b0b822 /gnu/packages | |
parent | b794dff00a86f2ba8b1dc200525f7da450671ac5 (diff) | |
download | guix-53d7e92e6836adc0493bad4dc5347be71749f58e.tar guix-53d7e92e6836adc0493bad4dc5347be71749f58e.tar.gz |
gnu: Add zopfli.
* gnu/packages/compression.scm (zopfli): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/compression.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 2989d2abaf..8185a6157e 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -1394,6 +1394,32 @@ handles the 7z format which features very high compression ratios.") functionality in a C++ iostream.") (license license:lgpl2.1+))) +(define-public zopfli + (package + (name "zopfli") + (version "1.0.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/zopfli") + (commit (string-append name "-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0dr8n4j5nj2h9n208jns56wglw59gg4qm3s7c6y3hs75d0nnkhm4")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ;no test suite + #:configure-flags '("-DBUILD_SHARED_LIBS=ON"))) + (home-page "https://github.com/google/zopfli") + (synopsis "Very good, but slow, deflate or zlib compression") + (description "Zopfli Compression Algorithm is a compression library +programmed in C to perform very good, but slow, deflate or zlib compression. +ZopfliCompress supports the deflate, gzip and zlib output formats. This +library can only compress, not decompress; existing zlib or deflate libraries +can decompress the data.") + (license license:asl2.0))) + (define-public zpaq (package (name "zpaq") |