diff --git a/pkgs/development/python-modules/aioeafm/default.nix b/pkgs/development/python-modules/aioeafm/default.nix index d8b8c11cef99..6200c60d4665 100644 --- a/pkgs/development/python-modules/aioeafm/default.nix +++ b/pkgs/development/python-modules/aioeafm/default.nix @@ -2,7 +2,8 @@ , aiohttp , buildPythonPackage , fetchFromGitHub -, poetry +, fetchpatch +, poetry-core , pytest-aiohttp , pytest-asyncio , pytest-cov @@ -21,7 +22,15 @@ buildPythonPackage rec { sha256 = "048cxn3fw2hynp27zlizq7k8ps67qq9sib1ddgirnxy5zc87vgkc"; }; - nativeBuildInputs = [ poetry ]; + patches = [ + (fetchpatch { + name = "use-poetry-core.patch"; + url = "https://github.com/Jc2k/aioeafm/commit/549590e2ed465be40e2406416d89b8a8cd8c6185.patch"; + hash = "sha256-cG/vQI1XQO8LVvWsHrAj8KlPGRulvO7Ny+k0CKUpPqQ="; + }) + ]; + + nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ aiohttp ];