2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
lib,
|
|
|
|
pytest-asyncio,
|
|
|
|
pytest-cov,
|
|
|
|
pytestCheckHook,
|
2022-10-30 15:09:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "aiorwlock";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "1.4.0";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2022-10-30 15:09:59 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-02-07 01:22:34 +00:00
|
|
|
hash = "sha256-TOpb7E6dA1M6JpGSmTlIIqFCKqUZvKndCReOxJD40cw=";
|
2022-10-30 15:09:59 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2022-10-30 15:09:59 +00:00
|
|
|
pytestCheckHook
|
|
|
|
pytest-asyncio
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "aiorwlock" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Read write lock for asyncio";
|
|
|
|
homepage = "https://github.com/aio-libs/aiorwlock";
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ billhuang ];
|
|
|
|
};
|
|
|
|
}
|