60f07311b9
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
32 lines
629 B
Nix
32 lines
629 B
Nix
{ buildPythonPackage
|
|
, fetchPypi
|
|
, lib
|
|
, pytest-asyncio
|
|
, pytest-cov
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "aiorwlock";
|
|
version = "1.4.0";
|
|
format = "setuptools";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-TOpb7E6dA1M6JpGSmTlIIqFCKqUZvKndCReOxJD40cw=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
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 ];
|
|
};
|
|
}
|