summaryrefslogtreecommitdiff
path: root/gnu/packages/machine-learning.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-09-26 15:23:39 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-26 15:23:45 +0100
commit04f3f640a2963a34f00dde54da7c26a702d4738e (patch)
tree9c42bc6bb05f9065e086239353b4fcac04cfbd39 /gnu/packages/machine-learning.scm
parent6851e548a337c976e0e6e575bfb318b0719e2751 (diff)
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
Diffstat (limited to 'gnu/packages/machine-learning.scm')
-rw-r--r--gnu/packages/machine-learning.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index e04525b3d6d..8e8b4c9d088 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")