blob: a24c4720ab844369291cac949d79ec10c7311ffe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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 ];
};
}
|