aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2024-10-10 08:07:11 -0500
committerjgart <jgart@dismail.de>2024-10-10 21:02:23 -0500
commite91d2f7868204852b115a2b61bf0d9a5dab5e621 (patch)
tree48511e3800fe88ae461654c7d7da3f2bddab149a
parent76b8973d76a87c2078d42155d7bbbdf42045cd94 (diff)
downloadguix-e91d2f7868204852b115a2b61bf0d9a5dab5e621.tar.gz
guix-e91d2f7868204852b115a2b61bf0d9a5dab5e621.zip
gnu: Add emacs-zk.
* gnu/packages/emacs-xyz.scm (emacs-zk): New variable. Change-Id: Iaa2978ece44faef01d6a57ff65e178dcfd925db2
-rw-r--r--gnu/packages/emacs-xyz.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6d56e4e4a6..ba5cc98dc0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -7652,6 +7652,45 @@ Emacs, inspired by @code{Dracula} theme.")
for the Zig programming language in Emacs.")
(license license:gpl3+))))
+(define-public emacs-zk
+ (package
+ (name "emacs-zk")
+ (version "0.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://github.com/localauthor/zk/")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0449zsahyzvjlhv27lkj33ybnq86j47paww779zd0qhq550hdnjs"))))
+ (arguments
+ (list
+ #:tests? #f ; There are no tests.
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'configure
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "zk.el"
+ (("\"grep")
+ (string-append
+ "\""
+ (search-input-file inputs "/bin/grep")))
+ (("\"egrep")
+ (string-append
+ "\""
+ (search-input-file inputs "/bin/egrep")))))))))
+ (propagated-inputs (list emacs-citar emacs-link-hint))
+ (inputs (list grep))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/localauthor/zk/")
+ (synopsis "Zettelkasten-style linked notes for Emacs")
+ (description
+ "Emacs packages for working with Zettelkasten-style linked notes.")
+ (license license:gpl3+)))
+
(define-public emacs-znc
(package
(name "emacs-znc")