1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

tts: relax mecab-python3 constraint

This commit is contained in:
Martin Weinelt 2021-08-28 03:16:17 +02:00
parent cf5caf02c9
commit 45af244b2d

View file

@ -26,10 +26,12 @@ python3.pkgs.buildPythonApplication rec {
};
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; [