···1{ lib
2-, python38
3, fetchFromGitHub
4, fetchpatch
5}:
···10# $ tts-server --model_name tts_models/en/ljspeech/glow-tts --vocoder_name vocoder_models/universal/libri-tts/fullband-melgan
11#
12# If you upgrade from an old version you may have to delete old models from ~/.local/share/tts
13-# Also note that your tts version might not support all available models so check:
14-# https://github.com/coqui-ai/TTS/releases/tag/v0.1.2
15#
16# For now, for deployment check the systemd unit in the pull request:
17# https://github.com/NixOS/nixpkgs/pull/103851#issue-521121136
1819-let
20- python3 = python38;
21-in python3.pkgs.buildPythonApplication rec {
22 pname = "tts";
23- version = "0.1.2";
24-25- # https://github.com/coqui-ai/TTS/issues/570
26- disabled = python3.pythonAtLeast "3.9";
2728 src = fetchFromGitHub {
29 owner = "coqui-ai";
30 repo = "TTS";
31 rev = "v${version}";
32- sha256 = "1qgiaqn7iqxyf54qgnpmli69nw9s3gmi9qv874jsgycykc10hjg4";
33 };
3435 postPatch = ''
···1{ lib
2+, python3
3, fetchFromGitHub
4, fetchpatch
5}:
···10# $ tts-server --model_name tts_models/en/ljspeech/glow-tts --vocoder_name vocoder_models/universal/libri-tts/fullband-melgan
11#
12# If you upgrade from an old version you may have to delete old models from ~/.local/share/tts
0013#
14# For now, for deployment check the systemd unit in the pull request:
15# https://github.com/NixOS/nixpkgs/pull/103851#issue-521121136
1617+python3.pkgs.buildPythonApplication rec {
0018 pname = "tts";
19+ version = "0.1.3";
0002021 src = fetchFromGitHub {
22 owner = "coqui-ai";
23 repo = "TTS";
24 rev = "v${version}";
25+ sha256 = "0akhiaaqz53bf5zyps3vgjifmgh5wvcc9r4lrq9hmj3dds03vkjq";
26 };
2728 postPatch = ''