1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pythonOlder, 6 hatchling, 7 requests, 8}: 9 10buildPythonPackage rec { 11 pname = "pycsspeechtts"; 12 version = "1.0.8"; 13 pyproject = true; 14 15 disabled = pythonOlder "3.7"; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-kgof0T22VRU96pKAWuEBo56F6t7o2X/xRS/L5B7UYDY="; 20 }; 21 22 build-system = [ hatchling ]; 23 24 dependencies = [ requests ]; 25 26 # Tests require API key and network access 27 doCheck = false; 28 29 pythonImportsCheck = [ "pycsspeechtts" ]; 30 31 meta = { 32 description = "Python library for Microsoft Cognitive Services Text-to-Speech"; 33 homepage = "https://github.com/jeroenterheerdt/pycsspeechtts"; 34 license = lib.licenses.mit; 35 maintainers = [ lib.maintainers.jamiemagee ]; 36 }; 37}