summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authordavidak <davidak@users.noreply.github.com>2021-08-31 16:33:11 +0200
committerGitHub <noreply@github.com>2021-08-31 16:33:11 +0200
commit473a24ecee4f171a525e1cc2601f48bc72c0f14f (patch)
treee4e45a40290ea2b15d9842bb5f1345e8631fc9b7 /pkgs/tools
parent3106d032f73117b33ca3c47ce5d7db7e0a49983b (diff)
parentaa29251293b7507bc248259e2f8681cee1eef103 (diff)
downloadnixpkgs-473a24ecee4f171a525e1cc2601f48bc72c0f14f.tar
nixpkgs-473a24ecee4f171a525e1cc2601f48bc72c0f14f.tar.gz
nixpkgs-473a24ecee4f171a525e1cc2601f48bc72c0f14f.tar.bz2
nixpkgs-473a24ecee4f171a525e1cc2601f48bc72c0f14f.tar.lz
nixpkgs-473a24ecee4f171a525e1cc2601f48bc72c0f14f.tar.xz
nixpkgs-473a24ecee4f171a525e1cc2601f48bc72c0f14f.tar.zst
nixpkgs-473a24ecee4f171a525e1cc2601f48bc72c0f14f.zip
Merge pull request #135694 from mweinelt/python/coqpit
tts: 0.2.0 -> 0.2.1
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/audio/tts/default.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/tools/audio/tts/default.nix b/pkgs/tools/audio/tts/default.nix
index dfc5f664645..eb1ea2aa592 100644
--- a/pkgs/tools/audio/tts/default.nix
+++ b/pkgs/tools/audio/tts/default.nix
@@ -16,20 +16,22 @@
 
 python3.pkgs.buildPythonApplication rec {
   pname = "tts";
-  version = "0.2.0";
+  version = "0.2.1";
 
   src = fetchFromGitHub {
     owner = "coqui-ai";
     repo = "TTS";
     rev = "v${version}";
-    sha256 = "sha256-FlxR1bPkUZT3SPuWiK0oAuI9dKfurEZurB0NhyDgOyY=";
+    sha256 = "sha256-7YMNxZ15qQowEE0tE6x/LbtirNGp7h9OLyS1JSl9x2A=";
   };
 
   postPatch = ''
-    sed -i -e 's!librosa==[^"]*!librosa!' requirements.txt
-    sed -i -e 's!numba==[^"]*!numba!' requirements.txt
-    sed -i -e 's!numpy==[^"]*!numpy!' requirements.txt
-    sed -i -e 's!umap-learn==[^"]*!umap-learn!' requirements.txt
+    sed -i requirements.txt \
+      -e 's!librosa==[^"]*!librosa!' \
+      -e 's!mecab-python3==[^"]*!mecab-python3!' \
+      -e 's!numba==[^"]*!numba!' \
+      -e 's!numpy==[^"]*!numpy!' \
+      -e 's!umap-learn==[^"]*!umap-learn!'
   '';
 
   nativeBuildInputs = with python3.pkgs; [