1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: nerd-dictation: Switch to pyproject.

* gnu/packages/machine-learning.scm (nerd-dictation):
[build-system]: Switch to pyproject-build-system.
[arguments]: Improve style using gexps.
[native-inputs]: Add python-setuptools, python-wheel.
[description]: Improve style.

Change-Id: I207d145149a6175b37b005d45e12c8bb77a033df
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves
2025-08-13 17:50:29 +02:00
committed by Sharlatan Hellseher
parent 5225da141c
commit 04db36eb70

View File

@@ -6657,22 +6657,25 @@ simple speech recognition.")
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ideasman42/nerd-dictation")
(commit commit)))
(url "https://github.com/ideasman42/nerd-dictation")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "0frdpswv6w3cwj3c7wd5w8gj3s1hvpdwd48qhfhfxf7imahz9bqf"))))
(build-system python-build-system)
(build-system pyproject-build-system)
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'chdir
(lambda _ (chdir "package/python"))))))
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'chdir
(lambda _
(chdir "package/python"))))))
(native-inputs (list python-setuptools python-wheel))
(propagated-inputs (list python-vosk))
(home-page "https://github.com/ideasman42/nerd-dictation")
(synopsis "Offline speech-to-text for desktop Linux")
(description "\
This package provides simple access speech to text for using in
(description
"This package provides simple access speech to text for using in
Linux without being tied to a desktop environment, using the @code{vosk-api}.
The user configuration lets you manipulate text using Python string
operations. It has zero overhead, as this relies on manual activation and