guix-commits
[Top][All Lists]
Advanced

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

03/05: gnu: emacs-telega-contrib: Update to 0.7.024.


From: guix-commits
Subject: 03/05: gnu: emacs-telega-contrib: Update to 0.7.024.
Date: Fri, 9 Jul 2021 09:10:03 -0400 (EDT)

leoprikler pushed a commit to branch master
in repository guix.

commit cd42e8001a82f60b6918ab8153d3a3d09380cdd5
Author: Zhu Zihao <all_but_last@163.com>
AuthorDate: Fri Jun 25 13:29:30 2021 +0800

    gnu: emacs-telega-contrib: Update to 0.7.024.
    
    * gnu/packages/emacs-xyz.scm(emacs-telega-contrib): Update to 0.7.024.
    [arguments]<#:phases>: Back to root directory of build before phase
    'install-license-files' to properly install licenses.
    [propagated-inputs]: Add emacs-dashboard, emacs-transient.
    
    Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
 gnu/packages/emacs-xyz.scm | 23 ++++++++++++++++-------
 1 file changed, 16 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b36db4d..3915899 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -26340,19 +26340,28 @@ service, and connect it with Emacs via inter-process 
communication.")
 for the Telegram messaging platform.")))
 
 (define-public emacs-telega-contrib
-  (package/inherit emacs-telega
+  (package
+    (inherit emacs-telega)
     (name "emacs-telega-contrib")
-    (build-system emacs-build-system)
     (arguments
      `(#:exclude '("telega-live-location.el")
        #:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'chdir
-           (lambda _ (chdir "contrib") #t)))))
+         (add-after 'unpack 'enter-subdirectory
+           (lambda _ (chdir "contrib") #t))
+         (add-before 'install-license-files 'leave-subdirectory
+           (lambda _ (chdir "..") #t)))))
+    (inputs '())
+    (native-inputs '())
     (propagated-inputs
-     `(("emacs-telega" ,emacs-telega)
-       ("emacs-alert" ,emacs-alert)
-       ("emacs-all-the-icons" ,emacs-all-the-icons)))))
+     `(("emacs-alert" ,emacs-alert)
+       ("emacs-all-the-icons" ,emacs-all-the-icons)
+       ("emacs-dashboard" ,emacs-dashboard)
+       ("emacs-telega" ,emacs-telega)
+       ("emacs-transient" ,emacs-transient)))
+    (synopsis "Contributed packages to Telega")
+    (description "Telega-contrib is a collection of third-party
+contributed packages to Telega.")))
 
 (define-public emacs-doom-modeline
   (package



reply via email to

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