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