depot/third_party/nixpkgs/pkgs/development/python-modules/gruut/language-pack.nix
Default email 3b21d1e521 Project import generated by Copybara.
GitOrigin-RevId: 23cd13167a1432550e48734079c2ffeeb441fb96
2021-07-15 00:03:04 +02:00

30 lines
480 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;
};
}