{ lib, buildPythonPackage, fetchFromGitHub, hatch-vcs, hatchling, pytest-asyncio, pytest-mock, pytest-timeout, pytestCheckHook, }: buildPythonPackage (finalAttrs: { pname = "filelock"; version = "3.29.7"; pyproject = true; src = fetchFromGitHub { owner = "tox-dev"; repo = "filelock"; tag = finalAttrs.version; hash = "sha256-sRJQa7vmMf9aWXT5QdYAZQHM0oIFFZM9P2tQ2x5T79Y="; }; build-system = [ hatch-vcs hatchling ]; nativeCheckInputs = [ pytest-asyncio pytest-mock pytest-timeout pytestCheckHook ]; pythonImportsCheck = [ "filelock" ]; disabledTestPaths = [ # Circular dependency with virtualenv "tests/test_virtualenv.py" # Very prone to timeouts on busy machines "tests/test_filelock.py" ]; meta = { changelog = "https://github.com/tox-dev/filelock/releases/tag/${finalAttrs.version}"; description = "Platform independent file lock for Python"; homepage = "https://github.com/benediktschmitt/py-filelock"; license = lib.licenses.mit; maintainers = [ ]; }; })