depot/third_party/nixpkgs/pkgs/development/python-modules/aiorwlock/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

32 lines
623 B
Nix

{
buildPythonPackage,
fetchPypi,
lib,
pytest-asyncio,
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 ];
};
}