From ed0b773ff6fafdb6ec89b29f16c07478904ca943 Mon Sep 17 00:00:00 2001 From: Morgan Smith Date: Wed, 12 Aug 2020 17:22:50 +0200 Subject: gnu: Add emacs-kanji. * gnu/packages/emacs-xyz.scm (emacs-kanji): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/emacs-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 1ac3e2baea..d77d5fe249 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -2734,6 +2734,33 @@ Emacs native editing commmands and the work of other packages wherever possible.") (license license:expat)))) +(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 + "This minor mode displays the stroke order of the Kanji sign under +cursor in a transient buffer. It has a built-in collection of SVG images +depicting stroke orders for all Kanji. The collection is a slightly modified +and limited version of the images provided by the KanjiVG project.") + (license license:gpl3+)))) + (define-public emacs-keyfreq (package (name "emacs-keyfreq") -- cgit v1.2.3