11 buildPythonPackage rec {
14 format = "setuptools";
16 src = fetchFromGitHub {
20 hash = "sha256-Q2UKELoG8OaAPxIrZNCpXgeWZ2fCzb3g3SOVzCm/gg0=";
25 substituteInPlace bin/speak-ipa \
26 --replace '${"\${src_dir}:"}' "$out/${python.sitePackages}:" \
27 --replace "do espeak" "do ${espeak}/bin/espeak"
30 propagatedBuildInputs = [ numpy ];
32 nativeCheckInputs = [ unittestCheckHook ];
34 pythonImportsCheck = [ "gruut_ipa" ];
37 description = "Library for manipulating pronunciations using the International Phonetic Alphabet (IPA)";
38 mainProgram = "gruut-ipa";
39 homepage = "https://github.com/rhasspy/gruut-ipa";
40 license = licenses.mit;
41 maintainers = teams.tts.members;