···11{ lib
22-, python38
22+, python3
33, fetchFromGitHub
44, fetchpatch
55}:
···1010# $ tts-server --model_name tts_models/en/ljspeech/glow-tts --vocoder_name vocoder_models/universal/libri-tts/fullband-melgan
1111#
1212# If you upgrade from an old version you may have to delete old models from ~/.local/share/tts
1313-# Also note that your tts version might not support all available models so check:
1414-# https://github.com/coqui-ai/TTS/releases/tag/v0.1.2
1513#
1614# For now, for deployment check the systemd unit in the pull request:
1715# https://github.com/NixOS/nixpkgs/pull/103851#issue-521121136
18161919-let
2020- python3 = python38;
2121-in python3.pkgs.buildPythonApplication rec {
1717+python3.pkgs.buildPythonApplication rec {
2218 pname = "tts";
2323- version = "0.1.2";
2424-2525- # https://github.com/coqui-ai/TTS/issues/570
2626- disabled = python3.pythonAtLeast "3.9";
1919+ version = "0.1.3";
27202821 src = fetchFromGitHub {
2922 owner = "coqui-ai";
3023 repo = "TTS";
3124 rev = "v${version}";
3232- sha256 = "1qgiaqn7iqxyf54qgnpmli69nw9s3gmi9qv874jsgycykc10hjg4";
2525+ sha256 = "0akhiaaqz53bf5zyps3vgjifmgh5wvcc9r4lrq9hmj3dds03vkjq";
3326 };
34273528 postPatch = ''