From 3bbc53783fc9accce939e654a2f386a9974a0f79 Mon Sep 17 00:00:00 2001 From: Zhong Jianxin Date: Tue, 28 Mar 2023 16:29:06 +0800 Subject: [PATCH] python3Packages.piano-transcription-inference: Fix run against librosa 0.10.0 --- .../piano-transcription-inference/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/piano-transcription-inference/default.nix b/pkgs/development/python-modules/piano-transcription-inference/default.nix index 272f3f6810bf..be46384649be 100644 --- a/pkgs/development/python-modules/piano-transcription-inference/default.nix +++ b/pkgs/development/python-modules/piano-transcription-inference/default.nix @@ -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 = ''