tts: don't override librosa fetcher, replace it

This commit is contained in:
Martin Weinelt 2022-07-27 02:09:24 +02:00
parent ccf609a926
commit 28eee98b44
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -21,7 +21,8 @@ let
# TypeError: mel() takes 0 positional arguments but 2 positional arguments (and 3 keyword-only arguments) were given # TypeError: mel() takes 0 positional arguments but 2 positional arguments (and 3 keyword-only arguments) were given
librosa = super.librosa.overridePythonAttrs (oldAttrs: rec { librosa = super.librosa.overridePythonAttrs (oldAttrs: rec {
version = "0.8.1"; version = "0.8.1";
src = oldAttrs.src.override { src = super.fetchPypi {
pname = "librosa";
inherit version; inherit version;
sha256 = "c53d05e768ae4a3e553ae21c2e5015293e5efbfd5c12d497f1104cb519cca6b3"; sha256 = "c53d05e768ae4a3e553ae21c2e5015293e5efbfd5c12d497f1104cb519cca6b3";
}; };