at master 854 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 cython, 5 decorator, 6 fetchPypi, 7 numpy, 8 pythonOlder, 9 scipy, 10 setuptools, 11 six, 12}: 13 14buildPythonPackage rec { 15 pname = "pysptk"; 16 version = "1.0.1"; 17 format = "setuptools"; 18 19 disabled = pythonOlder "3.7"; 20 21 src = fetchPypi { 22 inherit pname version; 23 hash = "sha256-eLHJM4v3laQc3D/wP81GmcQBwyP1RjC7caGXEAeNCz8="; 24 }; 25 26 PYSPTK_BUILD_VERSION = 0; 27 28 nativeBuildInputs = [ cython ]; 29 30 propagatedBuildInputs = [ 31 decorator 32 numpy 33 scipy 34 setuptools 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 description = "Wrapper for Speech Signal Processing Toolkit (SPTK)"; 45 homepage = "https://pysptk.readthedocs.io/"; 46 license = licenses.mit; 47 maintainers = with maintainers; [ hyphon81 ]; 48 }; 49}