diff options
| author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2026-01-31 15:04:53 +0100 |
|---|---|---|
| committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2026-02-01 01:57:37 +0100 |
| commit | db1024b1179c207a87db006213db2a44432979db (patch) | |
| tree | 38edb034a26eed8354237c47d5462fbaee0d2807 /gnu | |
| parent | b6c6d4134969c86795ed547ad45fba2079f141da (diff) | |
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
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/emacs-xyz.scm | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 420f8450c66..baa5a6d2bb4 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") |
