···
python.pkgs.buildPythonApplication rec {
20
+
pname = "coqui-tts";
26
+
repo = "coqui-ai-TTS";
rev = "refs/tags/v${version}";
28
-
hash = "sha256-1nlSf15IEX1qKfDtR6+jQqskjxIuzaIWatkj9Z1fh8Y=";
28
+
hash = "sha256-5w1Y9wdoJ+EV/WBwK3nqyY60NEsMjQsfE4g+sJB7VwQ=";
···
${lib.concatStringsSep "\n" (
49
-
map (package: ''-e 's/${package}\s*[<>=]+.+/${package}/g' \'') relaxedConstraints
54
-
${lib.concatStringsSep "\n" (
map (package: ''-e 's/${package}\s*[<>=]+[^"]+/${package}/g' \'') relaxedConstraints
58
-
# only used for notebooks and visualization
59
-
sed -r -i -e '/umap-learn/d' requirements.txt
nativeBuildInputs = with python.pkgs; [
···
propagatedBuildInputs = with python.pkgs; [
···
101
+
monotonic-alignment-search
cp -r TTS/server/templates/ $out/${python.sitePackages}/TTS/server
109
-
# cython modules are not installed for some reasons
111
-
cd TTS/tts/utils/monotonic_align
112
-
${python.pythonOnBuildForHost.interpreter} setup.py install --prefix=$out
# tests get stuck when run in nixpkgs-review, tested in passthru
···
"tests/text_tests/test_phonemizer.py"
# no training, it takes too long
"tests/aux_tests/test_speaker_encoder_train.py"
164
-
"tests/tts_tests/test_align_tts_train.py"
165
-
"tests/tts_tests/test_fast_pitch_speaker_emb_train.py"
166
-
"tests/tts_tests/test_fast_pitch_train.py"
167
-
"tests/tts_tests/test_fastspeech_2_speaker_emb_train.py"
168
-
"tests/tts_tests/test_fastspeech_2_train.py"
169
-
"tests/tts_tests/test_glow_tts_d-vectors_train.py"
170
-
"tests/tts_tests/test_glow_tts_speaker_emb_train.py"
171
-
"tests/tts_tests/test_glow_tts_train.py"
156
+
"tests/tts_tests2/test_align_tts_train.py"
157
+
"tests/tts_tests2/test_fast_pitch_speaker_emb_train.py"
158
+
"tests/tts_tests2/test_fast_pitch_train.py"
159
+
"tests/tts_tests2/test_fastspeech_2_speaker_emb_train.py"
160
+
"tests/tts_tests2/test_fastspeech_2_train.py"
161
+
"tests/tts_tests2/test_glow_tts_d-vectors_train.py"
162
+
"tests/tts_tests2/test_glow_tts_speaker_emb_train.py"
163
+
"tests/tts_tests2/test_glow_tts_train.py"
"tests/tts_tests/test_neuralhmm_tts_train.py"
"tests/tts_tests/test_overflow_train.py"
"tests/tts_tests/test_speedy_speech_train.py"
···
200
-
homepage = "https://github.com/coqui-ai/TTS";
201
-
changelog = "https://github.com/coqui-ai/TTS/releases/tag/v${version}";
192
+
homepage = "https://github.com/idiap/coqui-ai-TTS";
193
+
changelog = "https://github.com/idiap/coqui-ai-TTS/releases/tag/v${version}";
description = "Deep learning toolkit for Text-to-Speech, battle-tested in research and production";
license = licenses.mpl20;
maintainers = teams.tts.members;
205
-
broken = true; # added 2024-04-08