summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-07-31 19:06:04 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-07 18:33:34 +0100
commit8ada9e232a1579e369901cb8c96e502011ecf4fb (patch)
tree6da25c4d48f2774a8de34c1c0cfcca07e90f3fe4
parentdcca59cf9fc4c21baac504011e0e5f14f15aa02a (diff)
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>
-rw-r--r--gnu/packages/machine-learning.scm6
1 files 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.