···
python.pkgs.buildPythonApplication rec {
rev = "refs/tags/v${version}";
-
hash = "sha256-1nlSf15IEX1qKfDtR6+jQqskjxIuzaIWatkj9Z1fh8Y=";
···
${lib.concatStringsSep "\n" (
-
map (package: ''-e 's/${package}\s*[<>=]+.+/${package}/g' \'') relaxedConstraints
-
${lib.concatStringsSep "\n" (
map (package: ''-e 's/${package}\s*[<>=]+[^"]+/${package}/g' \'') relaxedConstraints
-
# only used for notebooks and visualization
-
sed -r -i -e '/umap-learn/d' requirements.txt
nativeBuildInputs = with python.pkgs; [
···
propagatedBuildInputs = with python.pkgs; [
···
cp -r TTS/server/templates/ $out/${python.sitePackages}/TTS/server
-
# cython modules are not installed for some reasons
-
cd TTS/tts/utils/monotonic_align
-
${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"
-
"tests/tts_tests/test_align_tts_train.py"
-
"tests/tts_tests/test_fast_pitch_speaker_emb_train.py"
-
"tests/tts_tests/test_fast_pitch_train.py"
-
"tests/tts_tests/test_fastspeech_2_speaker_emb_train.py"
-
"tests/tts_tests/test_fastspeech_2_train.py"
-
"tests/tts_tests/test_glow_tts_d-vectors_train.py"
-
"tests/tts_tests/test_glow_tts_speaker_emb_train.py"
-
"tests/tts_tests/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"
···
-
homepage = "https://github.com/coqui-ai/TTS";
-
changelog = "https://github.com/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;
-
broken = true; # added 2024-04-08