Morgan.J.Smith wrote 5 years ago
(address . guix-patches@gnu.org)(name . Morgan Smith)(address . Morgan.J.Smith@outlook.com)
From: Morgan Smith <Morgan.J.Smith@outlook.com>
* gnu/packages/emacs-xyz.scm (emacs-kanji): New variable.
---
gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Toggle diff (37 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 971b06e5f5..b773e08203 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2759,6 +2759,30 @@ flashcards. This package can use functionality from @code{emacs-kanji} if it
is installed")
(license license:gpl3+))))
+(define-public emacs-kanji
+ ;; Package has no release. Version is extracted from "Version:" keyword in
+ ;; main file.
+ (let ((commit "5e9d5b72468ece11cfb81b729be6babf63ede425")
+ (revision "0"))
+ (package
+ (name "emacs-kanji")
+ (version (git-version "1.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/wsgac/kanji-mode")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1zh7klqaza840q5f44zzh1wrnd6sqa2k93z3dgx3yhhsxfd1dxvy"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/wsgac/kanji-mode")
+ (synopsis "Emacs minor mode for displaying Japanese Kanji stroke order")
+ (description "Displays an image indicating the proper stroke order of
+the Kanji under the Emacs cursor")
+ (license license:gpl3+))))
+
(define-public emacs-keyfreq
(package
(name "emacs-keyfreq")
--
2.27.0