Loading pkgs/development/python-modules/pyopen-wakeword/default.nix 0 → 100644 +56 −0 Original line number Diff line number Diff line { lib, autoPatchelfHook, buildPythonPackage, fetchFromGitHub, setuptools, numpy, pytestCheckHook, }: buildPythonPackage rec { pname = "pyopen-wakeword"; version = "1.0.1"; pyproject = true; src = fetchFromGitHub { owner = "rhasspy"; repo = "pyopen-wakeword"; tag = "v${version}"; hash = "sha256-LJ0pHP4nsTx3GPuWUwOwNuXR9tUKABqSHnLSvMlfm1Y="; }; postPatch = '' python ./script/copy_lib ''; nativeBuildInputs = [ autoPatchelfHook ]; build-system = [ setuptools ]; dependencies = [ numpy ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "pyopen_wakeword" ]; meta = { description = "Alternative Python library for openWakeWord"; homepage = "https://github.com/rhasspy/pyopen-wakeword"; changelog = "https://github.com/rhasspy/pyopen-wakeword/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ hexa ]; # vendors prebuilt libtensorflowlite_c.{so,dll,dylib} sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -13693,6 +13693,8 @@ self: super: with self; { pyomo = callPackage ../development/python-modules/pyomo { }; pyopen-wakeword = callPackage ../development/python-modules/pyopen-wakeword/default.nix { }; pyopencl = callPackage ../development/python-modules/pyopencl { }; pyopengl = callPackage ../development/python-modules/pyopengl { Loading Loading
pkgs/development/python-modules/pyopen-wakeword/default.nix 0 → 100644 +56 −0 Original line number Diff line number Diff line { lib, autoPatchelfHook, buildPythonPackage, fetchFromGitHub, setuptools, numpy, pytestCheckHook, }: buildPythonPackage rec { pname = "pyopen-wakeword"; version = "1.0.1"; pyproject = true; src = fetchFromGitHub { owner = "rhasspy"; repo = "pyopen-wakeword"; tag = "v${version}"; hash = "sha256-LJ0pHP4nsTx3GPuWUwOwNuXR9tUKABqSHnLSvMlfm1Y="; }; postPatch = '' python ./script/copy_lib ''; nativeBuildInputs = [ autoPatchelfHook ]; build-system = [ setuptools ]; dependencies = [ numpy ]; nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "pyopen_wakeword" ]; meta = { description = "Alternative Python library for openWakeWord"; homepage = "https://github.com/rhasspy/pyopen-wakeword"; changelog = "https://github.com/rhasspy/pyopen-wakeword/blob/${src.tag}/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ hexa ]; # vendors prebuilt libtensorflowlite_c.{so,dll,dylib} sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -13693,6 +13693,8 @@ self: super: with self; { pyomo = callPackage ../development/python-modules/pyomo { }; pyopen-wakeword = callPackage ../development/python-modules/pyopen-wakeword/default.nix { }; pyopencl = callPackage ../development/python-modules/pyopencl { }; pyopengl = callPackage ../development/python-modules/pyopengl { Loading