diff --git a/pkgs/development/python-modules/asyncpraw/default.nix b/pkgs/development/python-modules/asyncpraw/default.nix index 5435eb099e46..0126f99cc91e 100644 --- a/pkgs/development/python-modules/asyncpraw/default.nix +++ b/pkgs/development/python-modules/asyncpraw/default.nix @@ -9,7 +9,7 @@ flit-core, mock, pytestCheckHook, - pytest-asyncio, + pytest-asyncio_0, pytest-vcr, pythonOlder, requests-toolbelt, @@ -49,7 +49,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook - pytest-asyncio + pytest-asyncio_0 pytest-vcr vcrpy requests-toolbelt diff --git a/pkgs/development/python-modules/asyncprawcore/default.nix b/pkgs/development/python-modules/asyncprawcore/default.nix index 133d74aefb7c..bc8c34f86a01 100644 --- a/pkgs/development/python-modules/asyncprawcore/default.nix +++ b/pkgs/development/python-modules/asyncprawcore/default.nix @@ -6,9 +6,8 @@ flit-core, mock, pytestCheckHook, - pytest-asyncio, + pytest-asyncio_0, pytest-vcr, - pythonOlder, requests, requests-toolbelt, testfixtures, @@ -21,8 +20,6 @@ buildPythonPackage rec { version = "2.4.0"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "praw-dev"; repo = "asyncprawcore"; @@ -30,9 +27,9 @@ buildPythonPackage rec { hash = "sha256-FDQdtnNjsbiEp9BUYdQFMC/hkyJDhCh2WHhQWSQwrFY="; }; - nativeBuildInputs = [ flit-core ]; + build-system = [ flit-core ]; - propagatedBuildInputs = [ + dependencies = [ requests aiohttp yarl @@ -43,7 +40,7 @@ buildPythonPackage rec { mock requests-toolbelt pytestCheckHook - pytest-asyncio + pytest-asyncio_0 pytest-vcr vcrpy ];