diff options
Diffstat (limited to 'pkgs/development/python-modules/aiocache/default.nix')
-rw-r--r-- | pkgs/development/python-modules/aiocache/default.nix | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/pkgs/development/python-modules/aiocache/default.nix b/pkgs/development/python-modules/aiocache/default.nix index 54a2bfb88ef78..d1e87d08deaac 100644 --- a/pkgs/development/python-modules/aiocache/default.nix +++ b/pkgs/development/python-modules/aiocache/default.nix @@ -7,33 +7,29 @@ marshmallow, msgpack, pkgs, - pythonOlder, pytest-asyncio, + pytest-cov-stub, pytest-mock, pytestCheckHook, + pythonOlder, redis, setuptools, }: buildPythonPackage rec { pname = "aiocache"; - version = "0.12.2"; + version = "0.12.3"; pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "aio-libs"; repo = "aiocache"; rev = "refs/tags/v${version}"; - hash = "sha256-yvXDNJL8uxReaU81klVWudJwh1hmvg5GeeILcNpm/YA="; + hash = "sha256-4QYCRXMWlt9fsiWgUTc2pKzXG7AG/zGmd4HT5ggIZNM="; }; - postPatch = '' - substituteInPlace setup.cfg \ - --replace-fail "--cov=aiocache --cov=tests/ --cov-report term" "" - ''; - build-system = [ setuptools ]; optional-dependencies = { @@ -46,6 +42,7 @@ buildPythonPackage rec { aiohttp marshmallow pytest-asyncio + pytest-cov-stub pytest-mock pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies); |