fix(wyoming): get rid of onnx error
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
c75cb0759d
commit
ce9bb61f7f
1 changed files with 8 additions and 3 deletions
|
@ -3,13 +3,14 @@ This package uses a `wyoming-openwakeword` fork that makes use of
|
||||||
the upstream `openwakeword` instead of a fork: https://github.com/rhasspy/wyoming-openwakeword/pull/27
|
the upstream `openwakeword` instead of a fork: https://github.com/rhasspy/wyoming-openwakeword/pull/27
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
fetchFromGitHub,
|
|
||||||
lib,
|
lib,
|
||||||
|
fetchFromGitHub,
|
||||||
|
onnxruntime,
|
||||||
openwakeword,
|
openwakeword,
|
||||||
python3Packages,
|
python3Packages,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) attrValues;
|
inherit (lib) attrValues makeLibraryPath;
|
||||||
in
|
in
|
||||||
python3Packages.buildPythonApplication {
|
python3Packages.buildPythonApplication {
|
||||||
pname = "wyoming-openwakeword";
|
pname = "wyoming-openwakeword";
|
||||||
|
@ -19,7 +20,6 @@ in
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rhasspy";
|
owner = "rhasspy";
|
||||||
repo = "wyoming-openwakeword";
|
repo = "wyoming-openwakeword";
|
||||||
# rev = "synesthesiam-20240627-openwakeword";
|
|
||||||
rev = "324d669645a778439c5392d9e287a763ead3cf4c";
|
rev = "324d669645a778439c5392d9e287a763ead3cf4c";
|
||||||
hash = "sha256-69oR2LHiUfx8j39nWp7XhG5xTvmOoPCLjSlH1CFvavo=";
|
hash = "sha256-69oR2LHiUfx8j39nWp7XhG5xTvmOoPCLjSlH1CFvavo=";
|
||||||
};
|
};
|
||||||
|
@ -48,6 +48,11 @@ in
|
||||||
"wyoming_openwakeword"
|
"wyoming_openwakeword"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Native onnxruntime lib used by Python module onnxruntime can't find its other libs without this
|
||||||
|
makeWrapperArgs = [
|
||||||
|
''--prefix LD_LIBRARY_PATH : "${makeLibraryPath [onnxruntime]}"''
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Open source voice assistant toolkit for many human languages";
|
description = "Open source voice assistant toolkit for many human languages";
|
||||||
homepage = "https://github.com/rhasspy/wyoming-openwakeword";
|
homepage = "https://github.com/rhasspy/wyoming-openwakeword";
|
||||||
|
|
Loading…
Reference in a new issue