python310Packages.anthropic: add patch for pytest-asyncio >= 0.21

This commit is contained in:
natsukium
2023-08-10 22:20:22 +09:00
parent 2dbe9e5fea
commit 4e7affc031
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, poetry-core
, anyio
, distro
@@ -28,6 +29,14 @@ buildPythonPackage rec {
hash = "sha256-dfMlM7IRP1PG7Ynr+MR4OPeKnHBbhhWKSug7UQ4/4rI=";
};
patches = [
(fetchpatch {
name = "support-pytest-asyncio-0.21.0.patch";
url = "https://github.com/anthropics/anthropic-sdk-python/commit/1e199aa9b38970c5b5b4492907494ac653a7f756.patch";
hash = "sha256-f9KldnvXuRKVgT7Xb/xdhInKOeXvi4g5OxVRD0PMhgQ=";
})
];
nativeBuildInputs = [
poetry-core
];