at 25.11-pre 980 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 more-itertools, 6 pytestCheckHook, 7 pythonOlder, 8 setuptools, 9 setuptools-scm, 10}: 11 12buildPythonPackage rec { 13 pname = "path"; 14 version = "17.1.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchPypi { 20 inherit pname version; 21 hash = "sha256-1B4F7U+h1PbXAt88HgoaJV17VEKHQyRWRV3HxR5fmOk="; 22 }; 23 24 nativeBuildInputs = [ 25 setuptools 26 setuptools-scm 27 ]; 28 29 nativeCheckInputs = [ 30 more-itertools 31 pytestCheckHook 32 ]; 33 34 disabledTests = [ 35 # creates a file, checks when it was last accessed/modified 36 # AssertionError: assert 1650036414.0 == 1650036414.960688 37 "test_utime" 38 ]; 39 40 pythonImportsCheck = [ "path" ]; 41 42 meta = with lib; { 43 description = "Object-oriented file system path manipulation"; 44 homepage = "https://github.com/jaraco/path"; 45 changelog = "https://github.com/jaraco/path/blob/v${version}/NEWS.rst"; 46 license = licenses.mit; 47 maintainers = [ ]; 48 }; 49}