guix_mirror_bot pushed a commit to branch master
in repository guix.

commit db1024b1179c207a87db006213db2a44432979db
Author: Nicolas Goaziou <[email protected]>
AuthorDate: Sat Jan 31 15:04:53 2026 +0100

    gnu: emacs-flyspell-correct: Update to 1.0.0.
    
    * gnu/packages/emacs-xyz.scm (emacs-flyspell-correct): Update to 1.0.0.
    [arguments]: Fix test commands and remove Avy menu dependency.
    [native-inputs]: Add emacs-buttercup, ispell, makem-minimal.
    
    Change-Id: I89842732d0a1446a619eae785eb06839f8478639
---
 gnu/packages/emacs-xyz.scm | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 420f8450c6..baa5a6d2bb 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -40594,20 +40594,32 @@ a variety of languages, including elisp itself.")
 (define-public emacs-flyspell-correct
   (package
     (name "emacs-flyspell-correct")
-    (version "0.6.1")
+    (version "1.0.0")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://github.com/d12frosted/flyspell-correct";)
-             (commit (string-append "v" version))))
+              (url "https://github.com/d12frosted/flyspell-correct";)
+              (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1m5da6r82hk0c2x3lw03qnkk79sx67875afw0ybblj3cmfk6szd1"))))
+        (base32 "1f9q9i5k34kg13lnhl2vzc3w8gvh5mzpv557mj9sngaqvgw03nzx"))))
     (build-system emacs-build-system)
     ;; XXX: emacs-avy-menu is not packaged, so we ignore the file below.
     (arguments
-     `(#:exclude '("flyspell-correct-avy-menu\\.el")))
+     (list #:phases
+           #~(modify-phases %standard-phases
+               (add-before 'check 'set-home
+                 (lambda _
+                   (setenv "HOME" (getenv "TMPDIR"))))
+               (add-before 'check 'remove-avy-menu-dependency
+                 (lambda _
+                   (delete-file "flyspell-correct-avy-menu.el"))))
+           #:test-command
+           #~(list #$(file-append (this-package-native-input "makem")
+                                  "/bin/makem.sh") "test")))
+    (native-inputs
+     (list emacs-buttercup ispell makem-minimal))
     (propagated-inputs
      (list emacs-helm emacs-ivy emacs-popup))
     (home-page "https://github.com/d12frosted/flyspell-correct";)

Reply via email to