wyoming-piper: 1.6.0 -> 1.6.1; enable tests (#420057)

This commit is contained in:
Martin Weinelt
2025-06-26 00:18:04 +02:00
committed by GitHub
3 changed files with 61 additions and 3 deletions
+13 -3
View File
@@ -6,14 +6,14 @@
python3Packages.buildPythonApplication rec {
pname = "wyoming-piper";
version = "1.6.0";
version = "1.6.1";
pyproject = true;
src = fetchFromGitHub {
owner = "rhasspy";
repo = "wyoming-piper";
tag = "v${version}";
hash = "sha256-pVpCnrf/BnAeyfyf82i9Ga/2WQUs1qGceL9uJ99WddY=";
hash = "sha256-r7odRraBSDP2fbRJ3ixaL80fhBSb9r5icPuf1Qa6Va8=";
};
build-system = with python3Packages; [
@@ -33,7 +33,17 @@ python3Packages.buildPythonApplication rec {
"wyoming_piper"
];
doCheck = false;
nativeCheckInputs = with python3Packages; [
numpy
pytest-asyncio
pytestCheckHook
python-speech-features
];
disabledTests = [
# network access
"test_piper"
];
meta = with lib; {
changelog = "https://github.com/rhasspy/wyoming-piper/blob/${src.tag}/CHANGELOG.md";
@@ -0,0 +1,46 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
numpy,
scipy,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "python-speech-features";
version = "0.6.1";
pyproject = true;
src = fetchFromGitHub {
owner = "jameslyons";
repo = "python_speech_features";
rev = version;
hash = "sha256-IAQujxQ5hOXFNOIEhWsGOTeWqxyBmqL5HSVD4KYEn3U=";
};
build-system = [
setuptools
];
dependencies = [
numpy
scipy
];
nativeBuildInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"python_speech_features"
];
meta = {
description = "Common speech features for ASR including MFCCs and filterbank energies";
homepage = "https://github.com/jameslyons/python_speech_features";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ hexa ];
};
}
+2
View File
@@ -14592,6 +14592,8 @@ self: super: with self; {
python-songpal = callPackage ../development/python-modules/python-songpal { };
python-speech-features = callPackage ../development/python-modules/python-speech-features { };
python-sql = callPackage ../development/python-modules/python-sql { };
python-status = callPackage ../development/python-modules/python-status { };