guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#72406] [PATCH emacs-team WIP v3 23/24] gnu: eless: Build variants.


From: Liliana Marie Prikler
Subject: [bug#72406] [PATCH emacs-team WIP v3 23/24] gnu: eless: Build variants.
Date: Sat, 10 Aug 2024 11:43:56 +0200

* gnu/packages/emacs-xyz.scm (eless)[properties]: Add ‘minimal-variant’,
‘next-variant’ and ‘pgtk-variant’.
(eless-minimal, eless-next, eless-pgtk): New variables.
---
 gnu/packages/emacs-xyz.scm | 24 +++++++++++++++++++++++-
 1 file changed, 23 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 774f18034c..643d1b984b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -22787,7 +22787,29 @@ (define-public eless
 @item Auto-revert log files similar to @code{tail -f}.
 @item Quickly change frame and font sizes.
 @end itemize\n")
-    (license license:expat)))
+    (license license:expat)
+    (properties
+     `((minimal-variant . ,(delay eless-minimal))
+       (next-variant . ,(delay eless-next))
+       (pgtk-variant . ,(delay eless-pgtk))))))
+
+(define-public eless-minimal
+  (package (inherit eless)
+           (name "eless-minimal")
+           (inputs (modify-inputs (package-inputs eless)
+                     (replace "emacs" emacs-minimal)))))
+
+(define-public eless-next
+  (package (inherit eless)
+           (name "eless-next")
+           (inputs (modify-inputs (package-inputs eless)
+                     (replace "emacs" emacs-next)))))
+
+(define-public eless-pgtk
+  (package (inherit eless)
+           (name "eless-pgtk")
+           (inputs (modify-inputs (package-inputs eless)
+                     (replace "emacs" emacs-pgtk)))))
 
 (define-public emacs-evil-matchit
   (package
-- 
2.45.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]