python3Packages.piano-transcription-inference: Fix run against librosa 0.10.0

This commit is contained in:
Zhong Jianxin 2023-03-28 16:29:06 +08:00
parent ca46c51067
commit 3bbc53783f

View File

@ -38,12 +38,16 @@ buildPythonPackage rec {
];
patches = [
# Fix run against librosa 0.9.0
# https://github.com/qiuqiangkong/piano_transcription_inference/pull/10
# Fix run against librosa 0.10.0
# https://github.com/qiuqiangkong/piano_transcription_inference/pull/14
(fetchpatch {
url = "https://github.com/qiuqiangkong/piano_transcription_inference/commit/b2d448916be771cd228f709c23c474942008e3e8.patch";
hash = "sha256-8O4VtFij//k3fhcbMRz4J8Iz4AdOPLkuk3UTxuCSy8U=";
})
(fetchpatch {
url = "https://github.com/qiuqiangkong/piano_transcription_inference/commit/61443632dc5ea69a072612b6fa3f7da62c96b72c.patch";
hash = "sha256-I9+Civ95BnPUX0WQhTU/pGQruF5ctIgkIdxCK+xO3PE=";
})
];
postPatch = ''