2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
2021-07-14 22:03:04 +00:00
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
lang,
|
|
|
|
version,
|
|
|
|
format,
|
|
|
|
src,
|
2021-07-14 22:03:04 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "gruut-lang-${lang}";
|
|
|
|
inherit version format src;
|
|
|
|
|
|
|
|
prePatch = ''
|
|
|
|
cd "${pname}"
|
|
|
|
'';
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "gruut_lang_${lang}" ];
|
2021-07-14 22:03:04 +00:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Language files for gruut tokenizer/phonemizer";
|
|
|
|
homepage = "https://github.com/rhasspy/gruut";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = teams.tts.members;
|
|
|
|
};
|
|
|
|
}
|