fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
29 lines
482 B
Nix
29 lines
482 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
|
|
lang,
|
|
version,
|
|
format,
|
|
src,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "gruut-lang-${lang}";
|
|
inherit version format src;
|
|
|
|
prePatch = ''
|
|
cd "${pname}"
|
|
'';
|
|
|
|
pythonImportsCheck = [ "gruut_lang_${lang}" ];
|
|
|
|
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;
|
|
};
|
|
}
|