1{ 2 buildPythonPackage, 3 fetchPypi, 4 lib, 5 pytest-asyncio, 6 pytest-cov, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "aiorwlock"; 12 version = "1.4.0"; 13 format = "setuptools"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-TOpb7E6dA1M6JpGSmTlIIqFCKqUZvKndCReOxJD40cw="; 18 }; 19 20 nativeCheckInputs = [ 21 pytestCheckHook 22 pytest-asyncio 23 ]; 24 25 pythonImportsCheck = [ "aiorwlock" ]; 26 27 meta = with lib; { 28 description = "Read write lock for asyncio"; 29 homepage = "https://github.com/aio-libs/aiorwlock"; 30 license = licenses.asl20; 31 maintainers = with maintainers; [ billhuang ]; 32 }; 33}