From 9b34258215a73aaef5b85b0350fa6060480847f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 22 Apr 2023 18:57:48 +0200 Subject: [PATCH] tts: 0.13.2 -> 0.13.3 Diff: https://github.com/coqui-ai/TTS/compare/refs/tags/v0.13.2...v0.13.3 Changelog: https://github.com/coqui-ai/TTS/releases/tag/v0.13.3 --- pkgs/tools/audio/tts/default.nix | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/pkgs/tools/audio/tts/default.nix b/pkgs/tools/audio/tts/default.nix index 687c214f6b36..24dbfee17517 100644 --- a/pkgs/tools/audio/tts/default.nix +++ b/pkgs/tools/audio/tts/default.nix @@ -1,7 +1,6 @@ { lib , python3 , fetchFromGitHub -, fetchpatch , espeak-ng , tts }: @@ -14,29 +13,19 @@ let in python.pkgs.buildPythonApplication rec { pname = "tts"; - version = "0.13.2"; + version = "0.13.3"; format = "pyproject"; src = fetchFromGitHub { owner = "coqui-ai"; repo = "TTS"; rev = "refs/tags/v${version}"; - hash = "sha256-3t4JYEwQ+puGLhGl3nn93qsL8IeOwlYtHXTrnZ5Cf+w="; + hash = "sha256-cu714/XtVqqlHN2CmUObcNFG6Vdi9VqC4at/HB8euDs="; }; - patches = [ - (fetchpatch { - # upgrade librosa to 0.10.0 - url = "https://github.com/coqui-ai/TTS/commit/4c829e74a1399ab083b566a70c1b7e879eda6e1e.patch"; - hash = "sha256-QP9AnMbdEpGJywiZBreojHUjq29ihqy6HxvUtS5OKvQ="; - excludes = [ - "requirements.txt" - ]; - }) - ]; - postPatch = let relaxedConstraints = [ + "bnunicodenormalizer" "cython" "gruut" "inflect" @@ -64,6 +53,9 @@ python.pkgs.buildPythonApplication rec { propagatedBuildInputs = with python.pkgs; [ anyascii + bangla + bnnumerizer + bnunicodenormalizer coqpit flask fsspec