Merge pull request #248476 from natsukium/librosa/fix

python310Packages.librosa: support scipy 1.11
This commit is contained in:
Nick Cao 2023-08-13 00:23:16 -06:00 committed by GitHub
commit b58de701e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
# build-system
, setuptools
@ -43,6 +44,15 @@ buildPythonPackage rec {
hash = "sha256-MXzPIcbG8b1JwhEyAZG4DRObGaHq+ipVHMrZCzaxLdE=";
};
patches = [
# https://github.com/librosa/librosa/pull/1731
(fetchpatch {
name = "support-scipy-1.11.patch";
url = "https://github.com/librosa/librosa/commit/12dee8eabed7df14c5622b52c05393ddfeb11f4b.patch";
hash = "sha256-JxTXU0Mc+QYpsafjoGLaIccD7EdCYJvIVianeosYpw4=";
})
];
nativeBuildInputs = [
setuptools
];