python3Packages.pytest-aio: init at 1.4.1

This commit is contained in:
Fabian Affolter 2021-12-03 22:33:39 +01:00
parent 54060c0a1f
commit b051111b03
2 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytest
, pytest-mypy
, pytestCheckHook
, pythonOlder
, types-setuptools
}:
buildPythonPackage rec {
pname = "pytest-aio";
version = "1.4.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
sha256 = "ZPG6k+ZNi6FQftIVwr/Lux5rJlo284V/mjtYepNScdQ=";
};
buildInputs = [
pytest
];
checkInputs = [
pytest-mypy
pytestCheckHook
types-setuptools
];
pythonImportsCheck = [
"pytest_aio"
];
meta = with lib; {
homepage = "https://github.com/klen/pytest-aio";
description = "Pytest plugin for aiohttp support";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -7336,6 +7336,8 @@ in {
'';
});
pytest-aio = callPackage ../development/python-modules/pytest-aio { };
pytest-aiohttp = callPackage ../development/python-modules/pytest-aiohttp { };
pytest-annotate = callPackage ../development/python-modules/pytest-annotate { };