mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
tts: 0.10.2 -> 0.11.1
https://github.com/coqui-ai/TTS/releases/tag/v0.11.0 https://github.com/coqui-ai/TTS/releases/tag/v0.11.1
This commit is contained in:
parent
2207f05046
commit
e10746b77b
@ -33,29 +33,16 @@ let
|
||||
in
|
||||
python.pkgs.buildPythonApplication rec {
|
||||
pname = "tts";
|
||||
version = "0.10.2";
|
||||
version = "0.11.1";
|
||||
format = "pyproject";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "coqui-ai";
|
||||
repo = "TTS";
|
||||
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
|
||||
relaxedConstraints = [
|
||||
"cython"
|
||||
@ -149,6 +136,7 @@ python.pkgs.buildPythonApplication rec {
|
||||
"test_models_offset_2_step_3"
|
||||
"test_run_all_models"
|
||||
"test_synthesize"
|
||||
"test_voice_cloning"
|
||||
"test_voice_conversion"
|
||||
"test_multi_speaker_multi_lingual_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_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"
|
||||
"tests/tts_tests/test_tacotron2_d-vectors_train.py"
|
||||
|
Loading…
Reference in New Issue
Block a user