python312Packages.pydub: add patch to fix test assertions
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, fetchpatch
|
||||
, ffmpeg-full
|
||||
, pytestCheckHook
|
||||
, setuptools
|
||||
, pythonOlder
|
||||
, setuptools
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@@ -22,6 +22,15 @@ buildPythonPackage rec {
|
||||
hash = "sha256-FTEMT47wPXK5i4ZGjTVAhI/NjJio3F2dbBZzYzClU3c=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix test assertions, https://github.com/jiaaro/pydub/pull/769
|
||||
(fetchpatch {
|
||||
name = "fix-assertions.patch";
|
||||
url = "https://github.com/jiaaro/pydub/commit/66c1bf7813ae8621a71484fdcdf609734c0d8efd.patch";
|
||||
hash = "sha256-3OIzvTgGK3r4/s5y7izHvouB4uJEmjO6cgKvegtTf7A=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
@@ -72,6 +72,7 @@ buildPythonPackage rec {
|
||||
changelog = "https://github.com/dotX12/ShazamIO/releases/tag/${src.rev}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ figsoda ];
|
||||
# https://github.com/shazamio/ShazamIO/issues/80
|
||||
broken = versionAtLeast pydantic.version "2";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user