[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/13: gnu: Add nerd-dictation.
From: |
guix-commits |
Subject: |
08/13: gnu: Add nerd-dictation. |
Date: |
Mon, 17 Oct 2022 04:45:57 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit eecb288ca2a3c9c8c540370a63f7101ed155b32a
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Thu Sep 29 11:02:02 2022 +0200
gnu: Add nerd-dictation.
* gnu/packages/machine-learning.scm (nerd-dictation): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/machine-learning.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 34b82aa101..f2c9b8dace 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -3602,3 +3602,37 @@ simple speech recognition.")
"from .vosk_cffi import ffi, lib")
(("_c\\.")
"lib.")))))))))
+
+(define-public nerd-dictation
+ (let* ((commit "53ab129a5ee0f8b5df284e8cf2229219b732c59e")
+ (revision "0"))
+ (package
+ (name "nerd-dictation")
+ (version (git-version "0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ideasman42/nerd-dictation")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "184qijiva1h1x00dzicik0yzgh78pq2lqr5fkgicgp26mkarlyhc"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "package/python"))))))
+ (propagated-inputs (list python-vosk))
+ (inputs (list pulseaudio xdotool))
+ (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
+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
+there are no background processes. Dictation is accessed manually with
+@code{nerd-dictation begin} and @code{nerd-dictation end} commands.")
+ (license license:gpl3+))))
- branch master updated (094b357783 -> c2cb116032), guix-commits, 2022/10/17
- 11/13: gnu: git-annex: Promote git to propagated input, guix-commits, 2022/10/17
- 01/13: Revert "nix: Guard against removing temporary roots of living processes.", guix-commits, 2022/10/17
- 04/13: gnu: Add openfst-for-vosk., guix-commits, 2022/10/17
- 03/13: channels: Interpret the 'commit' field of channel as a tag or commit., guix-commits, 2022/10/17
- 05/13: gnu: Add kaldi-for-vosk., guix-commits, 2022/10/17
- 08/13: gnu: Add nerd-dictation.,
guix-commits <=
- 06/13: gnu: Add vosk-api., guix-commits, 2022/10/17
- 02/13: git: 'update-cached-checkout' returns the commit ID when given a tag., guix-commits, 2022/10/17
- 07/13: gnu: Add python-vosk., guix-commits, 2022/10/17
- 09/13: gnu: Add nerd-dictation/wayland., guix-commits, 2022/10/17
- 10/13: read-print: Recognize 'define-record-type' and 'define-record-type*'., guix-commits, 2022/10/17
- 12/13: gnu: nheko: Do not build api docs., guix-commits, 2022/10/17
- 13/13: gnu: Add hunspell-dict-hu., guix-commits, 2022/10/17