This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 2bd83fad27 gnu: Add emacs-khardel.
2bd83fad27 is described below

commit 2bd83fad277c356061aff2a58b279f9f35d6cd8c
Author: Konrad Hinsen <[email protected]>
AuthorDate: Tue Feb 4 20:30:48 2025 +0100

    gnu: Add emacs-khardel.
    
    * gnu/packages/emacs-xyz.scm (emacs-khardel): New variable.
    
    Change-Id: Id890d4e8c344712c48f749fae8d65eaccb2c5e37
    Signed-off-by: Nicolas Goaziou <[email protected]>
---
 gnu/packages/emacs-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f7459c3c32..0610d3ffff 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6954,6 +6954,39 @@ them whenever another command is invoked.")
 a command.")
     (license license:gpl3+)))
 
+(define-public emacs-khardel
+  (package
+    (name "emacs-khardel")
+    (version "2.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/DamienCassou/khardel";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0gqijnmj24phryi6n74iq410k0637j0li1ncdymxhk3bdmp4mb40"))))
+    (build-system emacs-build-system)
+    (arguments
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-after 'unpack 'fix-path
+                 (lambda* (#:key inputs #:allow-other-keys)
+                   (emacs-substitute-variables "khardel.el"
+                     ("khardel-command"
+                      (search-input-file inputs "/bin/khard"))))))))
+    (inputs
+     (list khard))
+    (propagated-inputs
+     (list emacs-yaml-mode))
+    (home-page "https://github.com/DamienCassou/khardel";)
+    (synopsis "Emacs interface to Khard")
+    (description
+     "Khardel provide an Emacs integration with Khard, a console application
+to search and edit contacts in vCard format.")
+    (license license:gpl3+)))
+
 (define-public emacs-ligature
   (let ((commit "3d1460470736777fd8329e4bb4ac359bf4f1460a")
         (revision "1"))

Reply via email to