unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: tumashu@163.com
To: 60548@debbugs.gnu.org
Cc: Feng Shu <tumashu@163.com>
Subject: [bug#60548] [PATCH 1/5] gnu: Add emacs-cal-china-x.
Date: Wed,  4 Jan 2023 20:46:29 +0800	[thread overview]
Message-ID: <20230104124629.19871-1-tumashu@163.com> (raw)

From: Feng Shu <tumashu@163.com>

* 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





             reply	other threads:[~2023-01-04 12:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-04 12:46 tumashu [this message]
2023-01-06 23:55 ` bug#60548: [PATCH 1/5] gnu: Add emacs-cal-china-x Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230104124629.19871-1-tumashu@163.com \
    --to=tumashu@163.com \
    --cc=60548@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).