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

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

Your bug report

#42786: [PATCH] gnu: Add emacs-kana.

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].

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

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

Hello,

[email-masked] writes:

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

Applied, with a tweak to the description. Thank you.

Regards,
-- 
Nicolas Goaziou

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

From: Morgan Smith <[email-masked]>

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6bac148fce..971b06e5f5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2734,6 +2734,31 @@ Emacs native editing commmands and the work of other packages wherever
 possible.")
       (license license:expat))))
 
+(define-public emacs-kana
+  ;; Package has no release.  Version is extracted from "Version:" keyword in
+  ;; main file.
+  (let ((commit "b239c3c3c6124b46ff720cca7b80ecbafd7fa489")
+        (revision "0"))
+    (package
+      (name "emacs-kana")
+      (version (git-version "1.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/chenyanming/kana")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0vrrl1kniq4h111jvnapvx3wybvsl3alfaygw634mmryr3h7pwi8"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/chenyanming/kana")
+      (synopsis "Learn Japanese Kana in Emacs")
+      (description "An Emacs mode that displays Hiragana and Katakana
+flashcards.  This package can use functionality from @code{emacs-kanji} if it
+is installed")
+      (license license:gpl3+))))
+
 (define-public emacs-keyfreq
   (package
     (name "emacs-keyfreq")
-- 
2.27.0