guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 8ada9e232a1579e369901cb8c96e502011ecf4fb
Author: Nicolas Graves <[email protected]>
AuthorDate: Thu Jul 31 19:06:04 2025 +0200
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 <[email protected]>
---
gnu/packages/machine-learning.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 2b6955b406..7543999290 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -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.