summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorFeng Shu <tumashu@163.com>2017-09-23 11:58:27 +0800
committerChristopher Baines <mail@cbaines.net>2017-10-01 09:45:34 +0100
commit7493306f82eaf5fac18717c6d5ba4d42bd449e61 (patch)
treef5243164e9401b8339ed36b041f3afd8007aae67 /gnu/packages
parent9f3b27a267ed76ecba33288b86d036e5fd0e8797 (diff)
downloadguix-7493306f82eaf5fac18717c6d5ba4d42bd449e61.tar.gz
gnu: Add emacs-pyim.
* gnu/packages/emacs.scm (emacs-pyim): New variable.

Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 0b8856cf77..35ca2b1cf6 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -4932,6 +4932,31 @@ function to be used by other frontend programs.")
 containing words from the rime project.")
     (license license:gpl2+)))
 
+(define-public emacs-pyim
+  (package
+    (name "emacs-pyim")
+    (version "1.6.4")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://github.com/tumashu/pyim/archive/v"
+                    version ".tar.gz"))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0hfg8q9hcjifvnlghw2g94dfxfirms2psq2ghqb28fhkf0lks13r"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-async" ,emacs-async)
+       ("emacs-exwm" ,emacs-pyim-basedict)
+       ("emacs-popup" ,emacs-popup)
+       ("emacs-pos-tip" ,emacs-pos-tip)))
+    (home-page "https://github.com/tumashu/pyim")
+    (synopsis "Chinese input method")
+    (description "Chinese input method which supports quanpin, shuangpin, wubi
+and cangjie.")
+    (license license:gpl2+)))
+
 (define-public emacs-xelb
   (package
     (name "emacs-xelb")