Subject: [bug#46752] [PATCH] gnu: emacs-pyim: Update to 3.2.

From: Xinglu Chen <[email-masked]>
Date: Wed, 24 Feb 2021 14:31:23 +0100

emacs-pyim was recently added to GNU ELPA.

* gnu/packages/emacs-xyz.scm (emacs-pyim): Update to 3.2.
[source]: Fetch tarball from ELPA.

Signed-off-by: Xinglu Chen <[email-masked]>
---
 gnu/packages/emacs-xyz.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9ec9e1dc79..b0ea14ba8e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -93,6 +93,7 @@
 ;;; Copyright © 2021 Alexandr Vityazev <[email-masked]>
 ;;; Copyright © 2021 Yurii Kholodkov <[email-masked]>
 ;;; Copyright © 2021 Alexey Abramov <[email-masked]>
+;;; Copyright © 2021 Xinglu Chen <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -12299,16 +12300,15 @@ containing words from the Rime project.")
 (define-public emacs-pyim
   (package
     (name "emacs-pyim")
-    (version "2.0")
+    (version "3.2")
     (source
      (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/tumashu/pyim")
-             (commit (string-append "v" version))))
+       (method url-fetch)
+       (uri (string-append "https://elpa.gnu.org/packages/"
+                           "pyim-" version ".tar"))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "06ahzyi2h353xj17mzsm9fxmkc6cyzd1mjzmvqfw8cyv538nijc0"))))
+        (base32 "1rr9mq334dqf7mx1ii7910zkigw7chl63iws4sw0qsn014kjlb0a"))))
     (build-system emacs-build-system)
     (propagated-inputs
      `(("emacs-async" ,emacs-async)

base-commit: 8f250012539675c9d43bd2e52f6eb058dc583850
-- 
2.30.0