Files
2026-05-21 16:07:09 +02:00

39 lines
838 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pytest-asyncio,
pytestCheckHook,
poetry-core,
}:
buildPythonPackage (finalAttrs: {
pname = "aiorwlock";
version = "1.5.1";
pyproject = true;
src = fetchFromGitHub {
owner = "aio-libs";
repo = "aiorwlock";
tag = "v${finalAttrs.version}";
hash = "sha256-+favszX1mVuuLWqKCIk+i5frX+y2kOArAUVIAJG1otY=";
};
build-system = [ poetry-core ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "aiorwlock" ];
meta = {
description = "Read write lock for asyncio";
homepage = "https://github.com/aio-libs/aiorwlock";
changelog = "https://github.com/aio-libs/aiorwlock/releases/tag/v${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ billhuang ];
};
})