11 buildPythonPackage rec {
12 pname = "pytest-asyncio";
13 version = "0.23.8"; # N.B.: when updating, tests bleak and aioesphomeapi tests
16 disabled = pythonOlder "3.8";
18 src = fetchFromGitHub {
20 repo = "pytest-asyncio";
21 rev = "refs/tags/v${version}";
22 hash = "sha256-kMv0crYuYHi1LF+VlXizZkG87kSL7xzsKq9tP9LgFVY=";
30 build-system = [ setuptools-scm ];
32 buildInputs = [ pytest ];
36 cp -R tests $testout/tests
40 passthru.tests.pytest = callPackage ./tests.nix { };
42 pythonImportsCheck = [ "pytest_asyncio" ];
45 description = "Library for testing asyncio code with pytest";
46 homepage = "https://github.com/pytest-dev/pytest-asyncio";
47 changelog = "https://github.com/pytest-dev/pytest-asyncio/blob/v${version}/docs/source/reference/changelog.rst";
48 license = licenses.asl20;
49 maintainers = with maintainers; [ dotlambda ];