2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
onnxruntime-native,
|
|
|
|
piper-phonemize-native,
|
|
|
|
pybind11,
|
|
|
|
setuptools,
|
2023-08-04 22:07:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage {
|
|
|
|
inherit (piper-phonemize-native) pname version src;
|
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
pybind11
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
onnxruntime-native
|
|
|
|
piper-phonemize-native
|
|
|
|
piper-phonemize-native.espeak-ng
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "piper_phonemize" ];
|
2023-08-04 22:07:22 +00:00
|
|
|
|
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Phonemization libary used by Piper text to speech system";
|
|
|
|
inherit (piper-phonemize-native.meta) homepage license maintainers;
|
|
|
|
};
|
|
|
|
}
|