guix-commits
[Top][All Lists]
Advanced

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

04/05: gnu: Add emacs-treemacs-extra.


From: guix-commits
Subject: 04/05: gnu: Add emacs-treemacs-extra.
Date: Mon, 6 Jan 2020 05:00:09 -0500 (EST)

wigust pushed a commit to branch master
in repository guix.

commit 5097ce0ebdae6a27072fa3c5261925411a1611e8
Author: Oleg Pykhalov <address@hidden>
AuthorDate: Mon Jan 6 11:11:42 2020 +0300

    gnu: Add emacs-treemacs-extra.
    
    * gnu/packages/emacs-xyz.scm (emacs-treemacs-extra): New variable.
---
 gnu/packages/emacs-xyz.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 2eb5a66..9339bf0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -17830,6 +17830,24 @@ processes for Emacs")
     (description "Powerful and flexible file tree project explorer.")
     (license license:gpl3+)))
 
+(define-public emacs-treemacs-extra
+  (package
+    (inherit emacs-treemacs)
+    (name "emacs-treemacs-extra")
+    (propagated-inputs
+     `(,@(package-propagated-inputs emacs-treemacs)
+       ("emacs-evil" ,emacs-evil)
+       ("emacs-magit" ,emacs-magit)
+       ("emacs-projectile" ,emacs-projectile)))
+    (arguments
+     (substitute-keyword-arguments
+         (package-arguments emacs-treemacs)
+       ((#:phases phases)
+        `(modify-phases ,phases
+           (add-after 'chdir-elisp 'copy-extra
+             (lambda _
+               (copy-recursively "../extra" ".")))))))))
+
 (define-public emacs-lsp-ui
   (package
     (name "emacs-lsp-ui")



reply via email to

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