guix_mirror_bot pushed a commit to branch core-packages-team
in repository guix.

commit 8ef9c172336c8e3f4209ce2d7625e2012cb45c9a
Author: Efraim Flashner <[email protected]>
AuthorDate: Mon Feb 16 20:39:51 2026 +0200

    gnu: xz: Move documentation to separate output.
    
    * gnu/packages/compression.scm (xz)[outputs]: Add doc output.
    [properties]: Add synopsis for doc output.
    
    Change-Id: Id780acafdd8aea9b1faeec2f92b46e8139f9de1f
---
 gnu/packages/compression.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 24245beffc6..09f2c2ab4ce 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -778,7 +778,7 @@ Like its ancestor, BZip3 excels at compressing text or 
code.")
               (substitute* (string-append out "/lib/liblzma.la")
                 (("^old_library='liblzma.a'") "old_library=''"))
               #t))))))
-   (outputs '("out" "static"))
+   (outputs '("out" "static" "doc"))
    (inputs
     `(,@(if (%current-target-system)
             `(("bash" ,bash-minimal))
@@ -795,6 +795,8 @@ compression algorithm is currently LZMA2, which is used 
inside the .xz
 container format.  With typical files, XZ Utils create 30 % smaller output
 than gzip and 15 % smaller output than bzip2.")
    (license (list license:gpl2+ license:lgpl2.1+)) ; bits of both
+   (properties
+    `((output-synopsis "doc" "API documentation and example code")))
    (home-page "https://tukaani.org/xz/";)))
 
 (define-public heatshrink

Reply via email to