at master 986 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 hatch-vcs, 6 hatchling, 7 pytest-asyncio, 8 pytest-mock, 9 pytestCheckHook, 10 pythonOlder, 11}: 12 13buildPythonPackage rec { 14 pname = "filelock"; 15 version = "3.18.0"; 16 pyproject = true; 17 18 disabled = pythonOlder "3.8"; 19 20 src = fetchPypi { 21 inherit pname version; 22 hash = "sha256-rbyI6ruZ0v7IycGyKbFx8Yr6ZVQAFz3cZT1dAVAfufI="; 23 }; 24 25 build-system = [ 26 hatch-vcs 27 hatchling 28 ]; 29 30 nativeCheckInputs = [ 31 pytest-asyncio 32 pytest-mock 33 pytestCheckHook 34 ]; 35 36 pythonImportsCheck = [ "filelock" ]; 37 38 disabledTestPaths = [ 39 # Circular dependency with virtualenv 40 "tests/test_virtualenv.py" 41 ]; 42 43 meta = with lib; { 44 changelog = "https://github.com/tox-dev/py-filelock/releases/tag/${version}"; 45 description = "Platform independent file lock for Python"; 46 homepage = "https://github.com/benediktschmitt/py-filelock"; 47 license = licenses.unlicense; 48 maintainers = with maintainers; [ hyphon81 ]; 49 }; 50}