From 74812d638601ce1e7d6f94f6621829ef3f3ba96a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 11 Jul 2021 17:51:49 +0200 Subject: [PATCH] python3Packages.aiojobs: 0.2.2 -> 0.3.0 --- .../python-modules/aiojobs/default.nix | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/aiojobs/default.nix b/pkgs/development/python-modules/aiojobs/default.nix index 68c34df1afb..20c068080c9 100644 --- a/pkgs/development/python-modules/aiojobs/default.nix +++ b/pkgs/development/python-modules/aiojobs/default.nix @@ -1,22 +1,22 @@ -{ buildPythonPackage +{ lib +, buildPythonPackage , fetchPypi -, isPy27 +, pythonOlder , aiohttp -, pytest +, pytestCheckHook , pytest-aiohttp , pygments -, lib }: buildPythonPackage rec { pname = "aiojobs"; - version = "0.2.2"; + version = "0.3.0"; format = "flit"; - disabled = isPy27; + disabled = pythonOlder "3.5"; src = fetchPypi { inherit pname version; - sha256 = "01a0msjh4w58fd7jplmblh0hwgpzwjs5xkgqz3d0p5yv3cykwjwf"; + sha256 = "sha256-9mMdQtxDCPfYg6u9cNTpdvP8w1o7oejq5dSvSUCh4MM="; }; nativeBuildInputs = [ @@ -28,13 +28,11 @@ buildPythonPackage rec { ]; checkInputs = [ - pytest + pytestCheckHook pytest-aiohttp ]; - checkPhase = '' - pytest tests - ''; + pythonImportsCheck = [ "aiojobs" ]; meta = with lib; { homepage = "https://github.com/aio-libs/aiojobs";