gnu: emacs-company: Include company icons and documentation images.

* gnu/packages/emacs-xyz.scm (emacs-company): Include icons and documentation
images.

Change-Id: I8b7515141fa71fcb4b199bfaa268ddd4ab117743
Signed-off-by: Andrew Tropin <andrew@trop.in>
This commit is contained in:
Tom Willemse 2024-01-30 22:28:32 -08:00 committed by Andrew Tropin
parent a35372cc0b
commit 55c94d68df
No known key found for this signature in database
GPG key ID: 2208D20958C1DEB0

View file

@ -9261,6 +9261,20 @@ (define-public emacs-company
(sha256
(base32 "0j2qrnx2w2al4f2n37b89q0pkabh5ccv00gsknvgaylhy0za5gq9"))))
(build-system emacs-build-system)
(arguments
(list
#:include #~(cons* "icons/" %default-include)
#:phases
#~(modify-phases %standard-phases
(add-after 'move-doc 'install-doc-images
(lambda* (#:key outputs #:allow-other-keys)
(let ((images (find-files "./images/small/" ".*\\.png$")))
(for-each
(lambda (image)
(install-file
image
(string-append #$output "/share/info/images/small")))
images)))))))
(home-page "https://company-mode.github.io/")
(synopsis "Modular text completion framework")
(description