-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add shell.nix and package vosk #62
Conversation
While having nix support seems OK (I didn't use nix yet), I'd rather this not scatter files about the projects root, suggest |
I also created a PR packaging it for Nixpkgs: NixOS/nixpkgs#185148 |
Moved the files under |
|
Added, I didn't copy over all of the documentation on the usage of nerd-dictation as it didn't seem like a good idea to create yet another copy that may end up out of sync.
If that is accepted then this PR can probably be closed without merging. I created this because this Python was unusable on my machine without it and I thought other Nix users might appreciate the short-cut. @jtojnar Your thoughts? Additionally
Haha, that's what I get for writing commit messages whilst grumpy at Python. The
All nix packages require a version identifier, I used the latest date from the
Ahh, they are dependencies of vosk and are remnants of me hacking on this at the beginning. I'll remove them from the |
…. The default.nix is no longer terrible. Add comment to env var in shell hook
Having it in Nixpkgs is probably better since vosk depends on a custom version of kaldi and it would be useful to make use of Hydra binary cache (kaldi takes ages to build). But I am no longer interested in maintaining the package since unfortunately, nerd-dictation appears to be too rough to use at the moment (the text entry does not appear to be aware of previously added text, would probably need to be combined with some input method like https://github.com/PhilippeRo/IBus-Speech-To-Text does). Also there is some Python weirdness in setup.py: NixOS/nixpkgs#185148 (comment) If you are interested in it, feel free to take over the pull request. |
Greetings, started playing around with this the other day.. I run NixOS so I had to lay some groundwork first.. Thought others might appreciate it too.
It just drops you into a
nix-shell
with the required packages so you can runnerd-dictation
. It packages a couple of the English models. Easy enough to copy for other language models though. :)