nixpkgs/pkgs/development/python-modules/piper-phonemize/default.nix
Martin Weinelt faa7d81bd1
python310Packages.piper-phonemize: init
Python bindings for phonemization library used by the Piper text to
speech system.
2023-08-03 02:10:53 +02:00

35 lines
618 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;
};
}