1{ 2 lib, 3 stdenv, 4 buildPythonPackage, 5 cython, 6 decorator, 7 fetchPypi, 8 numpy, 9 pytestCheckHook, 10 pythonOlder, 11 scipy, 12 six, 13}: 14 15buildPythonPackage rec { 16 pname = "pysptk"; 17 version = "0.2.2"; 18 format = "setuptools"; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 inherit pname version; 24 hash = "sha256-QUgBA/bchWTaJ54u/ubcRfoVcDeV77wSnHOjkgfVauE="; 25 }; 26 27 PYSPTK_BUILD_VERSION = 0; 28 29 nativeBuildInputs = [ cython ]; 30 31 propagatedBuildInputs = [ 32 decorator 33 numpy 34 scipy 35 six 36 ]; 37 38 # Tests are not part of the PyPI releases 39 doCheck = false; 40 41 pythonImportsCheck = [ "pysptk" ]; 42 43 meta = with lib; { 44 broken = stdenv.isDarwin; 45 description = "Wrapper for Speech Signal Processing Toolkit (SPTK)"; 46 homepage = "https://pysptk.readthedocs.io/"; 47 license = licenses.mit; 48 maintainers = with maintainers; [ hyphon81 ]; 49 }; 50}