diff --git a/pkgs/development/python-modules/aioresponses/default.nix b/pkgs/development/python-modules/aioresponses/default.nix index 572d88044356..6cbcad24bdc4 100644 --- a/pkgs/development/python-modules/aioresponses/default.nix +++ b/pkgs/development/python-modules/aioresponses/default.nix @@ -1,33 +1,43 @@ { lib -, aiohttp , buildPythonPackage -, ddt , fetchPypi -, pbr -, pytestCheckHook , pythonOlder + +# build-system +, pbr , setuptools + +# dependencies +, aiohttp + +# tests +, ddt +, pytestCheckHook }: buildPythonPackage rec { pname = "aioresponses"; - version = "0.7.4"; - format = "setuptools"; + version = "0.7.6"; + pyproject = true; disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; - hash = "sha256-m4wQizY1TARjO60Op1K1XZVqdgL+PjI0uTn8RK+W8dg="; + hash = "sha256-95XZ29otYXdIQOfjL1Nm9FdS0a3Bt0yTYq/QFylsfuE="; }; nativeBuildInputs = [ pbr + setuptools ]; propagatedBuildInputs = [ aiohttp - setuptools + ]; + + pythonImportsCheck = [ + "aioresponses" ]; nativeCheckInputs = [ @@ -41,10 +51,6 @@ buildPythonPackage rec { "test_pass_through_with_origin_params" ]; - pythonImportsCheck = [ - "aioresponses" - ]; - meta = { description = "A helper to mock/fake web requests in python aiohttp package"; homepage = "https://github.com/pnuckowski/aioresponses";