gnu: Add vte-with-sixel.

* gnu/packages/gnome.scm (vte-with-sixel): New variable.

Change-Id: Ide1f88fc454155fa940ae2a63b6ed33e38f379f5
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Ashvith Shetty 2025-03-04 17:51:37 +05:30 committed by Liliana Marie Prikler
parent 73c05f685d
commit 71ffea35fc
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -81,6 +81,7 @@
;;; Copyright © 2024 James Smith <jsubuntuxp@disroot.org>
;;; Copyright © 2024 Justin Veilleux <terramorpha@cock.li>
;;; Copyright © 2025 Noé Lopez <noelopez@free.fr>
;;; Copyright © 2025 Ashvith Shetty <ashvithshetty0010@zohomail.in>
;;;
;;; This file is part of GNU Guix.
;;;
@ -4725,6 +4726,26 @@ editors, IDEs, etc.")
(propagated-inputs (modify-inputs (package-propagated-inputs vte)
(replace "gtk" gtk+)))))
(define-public vte-with-sixel
(package/inherit vte
(name "vte-with-sixel")
;; Choose a version that can render images generated by img2sixel.
(version "0.73.92")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://gitlab.gnome.org/GNOME/vte")
(commit version)))
(file-name (git-file-name name version))
(sha256 (base32
"0fv6lx7kk1xrfsvc95jm23vxkmyfypriz4nvj0kjy4nshgccwlch"))))
(arguments (substitute-keyword-arguments (package-arguments vte)
((#:configure-flags flags)
#~(append (list "-Dsixel=true") #$flags))))
(inputs (modify-inputs (package-inputs vte)
(append libsixel)
(append lz4)))))
;; Stable version for gtk2, required by gnurobots and lxterminal as of 2020-07.
(define-public vte/gtk+-2
(package (inherit vte)