~ruther/guix-local

8ada9e232a1579e369901cb8c96e502011ecf4fb — Nicolas Graves 9 months ago dcca59c
gnu: python-vosk: Switch to pyproject.

I also tried to set #:tests? and add python-pytest, but it requires
more work than that.

* gnu/packages/machine-learning.scm (python-vosk):
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools, python-wheel.
(vosk-api)[home-page]: Refresh.

Change-Id: I92917bf8f6b4337d4d0e56ea43445f8b3c2a8b41
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 4 insertions(+), 2 deletions(-)

M gnu/packages/machine-learning.scm
M gnu/packages/machine-learning.scm => gnu/packages/machine-learning.scm +4 -2
@@ 6592,7 6592,7 @@ linear algebra routines needed for structured matrices (or operators).")
                   (lambda (x) (install-file x src))
                   (find-files "." "\\.h$"))))))))
      (inputs (list kaldi openfst openblas))
      (home-page "https://alphacephei.com/vosk")
      (home-page "https://alphacephei.com/vosk/")
      (synopsis "Speech recognition toolkit based on @code{kaldi}")
      (description "This package provides a speech recognition toolkit based
on @code{kaldi}.  It supports more than 20 languages and dialects - English,


@@ 6613,10 6613,12 @@ simple speech recognition.")
  (package
    (inherit vosk-api)
    (name "python-vosk")
    (build-system python-build-system)
    (build-system pyproject-build-system)
    (propagated-inputs
     (list python-cffi python-requests python-tqdm python-srt python-websockets))
    (inputs (list vosk-api))
    (native-inputs
     (list python-setuptools python-wheel))
    (arguments
     (list
      #:tests? #f  ;; TODO There are tests but not run through Makefile.