depot/third_party/nixpkgs/pkgs/development/python-modules/piper-phonemize/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

33 lines
619 B
Nix

{
buildPythonPackage,
onnxruntime-native,
piper-phonemize-native,
pybind11,
setuptools,
}:
buildPythonPackage {
inherit (piper-phonemize-native) pname version src;
format = "pyproject";
nativeBuildInputs = [
pybind11
setuptools
];
buildInputs = [
onnxruntime-native
piper-phonemize-native
piper-phonemize-native.espeak-ng
];
pythonImportsCheck = [ "piper_phonemize" ];
# no tests
doCheck = false;
meta = {
description = "Phonemization libary used by Piper text to speech system";
inherit (piper-phonemize-native.meta) homepage license maintainers;
};
}