Subject: bug#42785: closed (Re: [bug#42785] [PATCH] gnu: Add emacs-kanji.)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 12 Aug 2020 15:25:02 +0000

Your bug report

#42785: [PATCH] gnu: Add emacs-kanji.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
42785: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42785
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#42785] [PATCH] gnu: Add emacs-kanji.
From: Nicolas Goaziou <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Wed, 12 Aug 2020 17:24:32 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

[email-masked] writes:

> * gnu/packages/emacs-xyz.scm (emacs-kanji): New variable.

I modified the description, which should consist of complete sentences,
and applied your patch. Thank you.

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] gnu: Add emacs-kanji.
From: [email-masked]
To: [email-masked]
Cc: Morgan Smith <[email-masked]>
Date: Sun, 9 Aug 2020 15:04:47 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Morgan Smith <[email-masked]>

* gnu/packages/emacs-xyz.scm (emacs-kanji): New variable.
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

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