1{ 2 buildPythonPackage, 3 onnxruntime-native, 4 piper-phonemize-native, 5 pybind11, 6 setuptools, 7}: 8 9buildPythonPackage { 10 inherit (piper-phonemize-native) pname version src; 11 format = "pyproject"; 12 13 nativeBuildInputs = [ 14 pybind11 15 setuptools 16 ]; 17 18 buildInputs = [ 19 onnxruntime-native 20 piper-phonemize-native 21 piper-phonemize-native.espeak-ng 22 ]; 23 24 pythonImportsCheck = [ "piper_phonemize" ]; 25 26 # no tests 27 doCheck = false; 28 29 meta = { 30 description = "Phonemization libary used by Piper text to speech system"; 31 inherit (piper-phonemize-native.meta) homepage license maintainers; 32 }; 33}