depot/third_party/nixpkgs/pkgs/development/python-modules/pytest-aio/default.nix
Default email 3cbfd2b52c Project import generated by Copybara.
GitOrigin-RevId: 395879c28386e1abf20c7ecacd45880759548391
2021-12-18 20:06:50 -05:00

43 lines
733 B
Nix

{ 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 ];
};
}