python3Packages.python-speech-features: init at 0.6.1

This commit is contained in:
Martin Weinelt
2025-06-25 23:59:15 +02:00
parent 791d3dba6c
commit fe287f727c
2 changed files with 48 additions and 0 deletions
@@ -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 { };