nixos-configs/modules/wyoming-plus/pkgs/openwakeword.nix
matt1432 6ca0d7248b
All checks were successful
Discord / discord commits (push) Has been skipped
refactor: rename some flake attr directories
2024-12-16 15:51:41 -05:00

41 lines
757 B
Nix

{
fetchFromGitHub,
python3Packages,
speexdsp-ns,
tflite-runtime,
...
}: let
inherit (builtins) attrValues;
in
python3Packages.buildPythonApplication rec {
pname = "openwakeword";
version = "0.6.0";
pyproject = true;
src = fetchFromGitHub {
owner = "dscripka";
repo = "openWakeWord";
rev = "v${version}";
hash = "sha256-QsXV9REAHdP0Y0fVZuU+Gt9+gcPMB60bc3DOMDYuaDM=";
};
nativeBuildInputs = with python3Packages; [
setuptools
];
propagatedBuildInputs = attrValues {
inherit
(python3Packages)
onnxruntime
tqdm
scipy
scikit-learn
requests
;
inherit
speexdsp-ns
tflite-runtime
;
};
}