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>
This commit is contained in:
Nicolas Graves 2025-07-31 19:06:04 +02:00 committed by Sharlatan Hellseher
parent dcca59cf9f
commit 8ada9e232a
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -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.