guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 04f3f640a2963a34f00dde54da7c26a702d4738e
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Fri Sep 26 15:23:39 2025 +0100

    gnu: nerd-dictation: Fix tests.
    
    * gnu/packages/machine-learning.scm (nerd-dictation)[arguments]
    <test-backend>: Use 'custom.
    <test-flags>: Provide the path to test file.
    [native-inputs]: Remove python-wheel.
    
    Change-Id: Ia6e2c497ffe9315a87dc20b4d845fea111a144c9
---
 gnu/packages/machine-learning.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/machine-learning.scm 
b/gnu/packages/machine-learning.scm
index e04525b3d6..8e8b4c9d08 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -6121,12 +6121,14 @@ simple speech recognition.")
       (build-system pyproject-build-system)
       (arguments
        (list
+        #:test-backend #~'custom
+        #:test-flags #~(list "../../tests/from_words_to_digits.py")
         #:phases
         #~(modify-phases %standard-phases
             (add-after 'unpack 'chdir
               (lambda _
                 (chdir "package/python"))))))
-      (native-inputs (list python-setuptools python-wheel))
+      (native-inputs (list python-setuptools))
       (propagated-inputs (list python-vosk))
       (home-page "https://github.com/ideasman42/nerd-dictation";)
       (synopsis "Offline speech-to-text for desktop Linux")

Reply via email to