depot/third_party/nixpkgs/pkgs/development/python-modules/gruut/language-pack.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

30 lines
514 B
Nix

{
lib,
buildPythonPackage,
lang,
version,
src,
build-system,
}:
buildPythonPackage rec {
pname = "gruut-lang-${lang}";
pyproject = true;
inherit version src build-system;
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;
};
}