depot/third_party/nixpkgs/pkgs/development/python-modules/aiorwlock/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

33 lines
637 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 ];
};
}