Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pytest-aio / default.nix
blobef643d765a7a9f7e3245a0f187df80e66646f77e
2   lib,
3   anyio,
4   buildPythonPackage,
5   curio,
6   fetchFromGitHub,
7   hypothesis,
8   pytest,
9   pytestCheckHook,
10   pythonOlder,
11   poetry-core,
12   sniffio,
13   trio,
14   trio-asyncio,
17 buildPythonPackage rec {
18   pname = "pytest-aio";
19   version = "1.8.1";
20   pyproject = true;
22   disabled = pythonOlder "3.7";
24   src = fetchFromGitHub {
25     owner = "klen";
26     repo = "pytest-aio";
27     rev = "refs/tags/${version}";
28     hash = "sha256-MexIL9yFTzhkJ/61GgYoT54MWV8B0c1/CWkN5FVTvnw=";
29   };
31   build-system = [ poetry-core ];
33   buildInputs = [ pytest ];
35   dependencies = [
36     anyio
37     curio
38     hypothesis
39     sniffio
40     trio
41     trio-asyncio
42   ];
44   nativeCheckInputs = [ pytestCheckHook ];
46   pythonImportsCheck = [ "pytest_aio" ];
48   meta = with lib; {
49     description = "Pytest plugin for aiohttp support";
50     homepage = "https://github.com/klen/pytest-aio";
51     changelog = "https://github.com/klen/pytest-aio/blob/${version}/CHANGELOG.md";
52     license = licenses.mit;
53     maintainers = with maintainers; [ fab ];
54   };