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