1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pytest-asyncio, 6 pytestCheckHook, 7 poetry-core, 8 pythonOlder, 9}: 10 11buildPythonPackage rec { 12 pname = "aiorwlock"; 13 version = "1.5.0"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.9"; 17 18 src = fetchFromGitHub { 19 owner = "aio-libs"; 20 repo = "aiorwlock"; 21 tag = "v${version}"; 22 hash = "sha256-QwjwuXjaxE1Y+Jzn8hJXY4wKltAT8mdOM7jJ9MF+DhA="; 23 }; 24 25 build-system = [ poetry-core ]; 26 27 nativeCheckInputs = [ 28 pytest-asyncio 29 pytestCheckHook 30 ]; 31 32 pythonImportsCheck = [ "aiorwlock" ]; 33 34 meta = with lib; { 35 description = "Read write lock for asyncio"; 36 homepage = "https://github.com/aio-libs/aiorwlock"; 37 changelog = "https://github.com/aio-libs/aiorwlock/releases/tag/v${version}"; 38 license = licenses.asl20; 39 maintainers = with maintainers; [ billhuang ]; 40 }; 41}