3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #215707 from mweinelt/tts-0.11.1

tts: 0.10.2 -> 0.11.1
This commit is contained in:
Martin Weinelt 2023-02-10 20:27:10 +00:00 committed by GitHub
commit 9943fcc75d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,29 +33,16 @@ let
in in
python.pkgs.buildPythonApplication rec { python.pkgs.buildPythonApplication rec {
pname = "tts"; pname = "tts";
version = "0.10.2"; version = "0.11.1";
format = "pyproject"; format = "pyproject";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "coqui-ai"; owner = "coqui-ai";
repo = "TTS"; repo = "TTS";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
hash = "sha256-IcuRhsURgEYIuS7ldZtxAy4Z/XNDehTGsOfYW+DhScg="; hash = "sha256-EVFFETiGbrouUsrIhMFZEex3UGCCWTI3CC4yFAcERyw=";
}; };
patches = [
# Use packaging.version for version comparisons
(fetchpatch {
url = "https://github.com/coqui-ai/TTS/commit/77a9ef8ac97ea1b0f7f8d8287dba69a74fdf22ce.patch";
hash = "sha256-zWJmINyxw2efhR9KIVkDPHao5703zlpCKwdzOh/1APY=";
})
# Fix espeak version detection logic
(fetchpatch {
url = "https://github.com/coqui-ai/TTS/commit/0031df0143b069d7db59ba04d1adfafcc1a92f47.patch";
hash = "sha256-6cL9YqWrB+0QomINpA9BxdYmEDpXF03udGEchydQmBA=";
})
];
postPatch = let postPatch = let
relaxedConstraints = [ relaxedConstraints = [
"cython" "cython"
@ -149,6 +136,7 @@ python.pkgs.buildPythonApplication rec {
"test_models_offset_2_step_3" "test_models_offset_2_step_3"
"test_run_all_models" "test_run_all_models"
"test_synthesize" "test_synthesize"
"test_voice_cloning"
"test_voice_conversion" "test_voice_conversion"
"test_multi_speaker_multi_lingual_model" "test_multi_speaker_multi_lingual_model"
"test_single_speaker_model" "test_single_speaker_model"
@ -166,9 +154,12 @@ python.pkgs.buildPythonApplication rec {
"tests/tts_tests/test_align_tts_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_speaker_emb_train.py"
"tests/tts_tests/test_fast_pitch_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_d-vectors_train.py"
"tests/tts_tests/test_glow_tts_speaker_emb_train.py" "tests/tts_tests/test_glow_tts_speaker_emb_train.py"
"tests/tts_tests/test_glow_tts_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_overflow_train.py"
"tests/tts_tests/test_speedy_speech_train.py" "tests/tts_tests/test_speedy_speech_train.py"
"tests/tts_tests/test_tacotron2_d-vectors_train.py" "tests/tts_tests/test_tacotron2_d-vectors_train.py"