Subject: [PATCH 1/5] gnu: Add emacs-cal-china-x.

From: [email-masked]
Date: Wed, 4 Jan 2023 20:46:29 +0800

From: Feng Shu <[email-masked]>

* gnu/packages/emacs-xyz.scm (emacs-cal-china-x): New variable.
---
 gnu/packages/emacs-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f68f5bce2a..d4f0dc82a0 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16390,6 +16390,38 @@ (define-public emacs-cnfonts
 configuration of Chinese fonts.")
     (license license:gpl2+)))
 
+(define-public emacs-cal-china-x
+  (let ((revision "0")
+        (commit  "94005e678a1d2522b7a00299779f40c5c77286b8"))
+    (package
+      (name "emacs-cal-china-x")
+      (version (git-version "2.6b" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/xwl/cal-china-x")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0dy9awy5y990wz925rdn95gn23ywarwbvkqq0l0xms1br1v8kxc6"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/xwl/cal-china-x")
+      (synopsis "Chinese localization, lunar/horoscope/zodiac info and more")
+      (description
+       "Cal-China-X provides addition features for Emacs' Cal-China package:
+
+@itemize
+@item Chinese localizations.
+@item Display holiday, lunar, horoscope, zodiac, solar term info on mode line.
+@item Define holidays using holiday-lunar, holiday-solar-term.
+@item Highlight holidays based on different priorities.
+@item Add cal-china-x-chinese-holidays, cal-china-x-japanese-holidays.
+@item custom week diary (like weeks in school).
+@end itemize\n")
+      (license license:gpl3+))))
+
 (define-public emacs-boon
   (package
     (name "emacs-boon")
-- 
2.38.1