~ruther/guix-local

04f3f640a2963a34f00dde54da7c26a702d4738e — Sharlatan Hellseher 5 months ago 6851e54
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
1 files changed, 3 insertions(+), 1 deletions(-)

M gnu/packages/machine-learning.scm
M gnu/packages/machine-learning.scm => gnu/packages/machine-learning.scm +3 -1
@@ 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")