guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#60551] [PATCH 4/5] gnu: emacs-pyim-basedict: Install pyim-basedict.


From: tumashu
Subject: [bug#60551] [PATCH 4/5] gnu: emacs-pyim-basedict: Install pyim-basedict.pyim file.
Date: Wed, 4 Jan 2023 20:47:11 +0800

From: Feng Shu <tumashu@163.com>

* gnu/packages/emacs-xyz.scm (emacs-pyim-basedict) [arguments]: New field.
[#:phases]: Install pyim-basedict.pyim file.
---
 gnu/packages/emacs-xyz.scm | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 417e9ee1f5..5ba150c815 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16624,6 +16624,17 @@ (define-public emacs-pyim-basedict
          (sha256
           (base32 "0fzyh8qmicq2vy9j1ca708ir67dpxp1cwjaw0sw469p24cvj12yy"))))
       (build-system emacs-build-system)
+      (arguments
+       (list
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-after 'install 'install-basedict-file
+              (lambda _
+                (install-file "pyim-basedict.pyim"
+                              (string-append
+                               #$output
+                               "/share/emacs/site-lisp/pyim-basedict-"
+                               #$version)))))))
       (propagated-inputs
        (list emacs-pyim))
       (home-page "https://github.com/tumashu/pyim-basedict";)
-- 
2.38.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]