diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-08-13 17:50:29 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-08-14 13:15:26 +0100 |
| commit | 04db36eb708b5560aa049f324e059478670f0886 (patch) | |
| tree | a343695d61363ebf7d0c163a112a1a57ea384383 | |
| parent | 5225da141cad85682cf1f96b4891b5e3a30b15b6 (diff) | |
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>
| -rw-r--r-- | gnu/packages/machine-learning.scm | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 7f023d2ba4..ea09fdb1be 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -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 |
