tts: 0.0.15.1 -> 0.1.2

This commit is contained in:
Martin Weinelt 2021-07-03 21:31:31 +02:00
parent b95b77bb98
commit aa7a09646b
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -12,25 +12,24 @@
# #
# If you upgrade from an old version you may have to delete old models from ~/.local/share/tts # If you upgrade from an old version you may have to delete old models from ~/.local/share/tts
# Also note that your tts version might not support all available models so check: # Also note that your tts version might not support all available models so check:
# https://github.com/coqui-ai/TTS/releases/tag/v0.0.15.1 # https://github.com/coqui-ai/TTS/releases/tag/v0.1.2
# #
# For now, for deployment check the systemd unit in the pull request: # For now, for deployment check the systemd unit in the pull request:
# https://github.com/NixOS/nixpkgs/pull/103851#issue-521121136 # https://github.com/NixOS/nixpkgs/pull/103851#issue-521121136
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "tts"; pname = "tts";
version = "0.0.15.1"; version = "0.1.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "coqui-ai"; owner = "coqui-ai";
repo = "TTS"; repo = "TTS";
rev = "v${version}"; rev = "v${version}";
sha256 = "0z6sbzspgmw5ja8r2zysyhdk4jzlv88a0ihkvxvvwxslkyncdb89"; sha256 = "1qgiaqn7iqxyf54qgnpmli69nw9s3gmi9qv874jsgycykc10hjg4";
}; };
postPatch = '' postPatch = ''
sed -i -e 's!librosa==[^"]*!librosa!' requirements.txt sed -i -e 's!librosa==[^"]*!librosa!' requirements.txt
sed -i -e 's!unidecode==[^"]*!unidecode!' requirements.txt
sed -i -e 's!numba==[^"]*!numba!' requirements.txt sed -i -e 's!numba==[^"]*!numba!' requirements.txt
sed -i -e 's!numpy==[^"]*!numpy!' requirements.txt sed -i -e 's!numpy==[^"]*!numpy!' requirements.txt
sed -i -e 's!umap-learn==[^"]*!umap-learn!' requirements.txt sed -i -e 's!umap-learn==[^"]*!umap-learn!' requirements.txt
@ -44,6 +43,7 @@ python3Packages.buildPythonApplication rec {
anyascii anyascii
coqpit coqpit
flask flask
gruut
gdown gdown
inflect inflect
jieba jieba