mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-18 18:14:42 +00:00
python312Packages.librosa: backport scipy 1.14 support
This commit is contained in:
parent
d154537783
commit
164b51670f
@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
@ -47,6 +48,15 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [ setuptools ];
|
||||
|
||||
patches = [
|
||||
(fetchpatch2 {
|
||||
# https://github.com/librosa/librosa/issues/1849
|
||||
name = "librosa-scipy-1.14-compat.patch";
|
||||
url = "https://github.com/librosa/librosa/commit/d0a12c87cdff715ffb8ac1c7383bba1031aa71e4.patch";
|
||||
hash = "sha256-NHuGo4U1FRikb5OIkycQBvuZ+0OdG/VykTcuhXkLUug=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg \
|
||||
--replace-fail "--cov-report term-missing --cov librosa --cov-report=xml " ""
|
||||
|
Loading…
Reference in New Issue
Block a user