1{ 2 lib, 3 buildPythonPackage, 4 pythonOlder, 5 fetchPypi, 6 setuptools, 7 setuptools-scm, 8 fsspec, 9}: 10 11buildPythonPackage rec { 12 pname = "universal-pathlib"; 13 version = "0.2.6"; 14 pyproject = true; 15 16 disabled = pythonOlder "3.8"; 17 18 src = fetchPypi { 19 pname = "universal_pathlib"; 20 inherit version; 21 hash = "sha256-UIF6rqqfQWPLHnb1vfhCB/oFznKLI/13lHmzRi5UMKw="; 22 }; 23 24 build-system = [ 25 setuptools 26 setuptools-scm 27 ]; 28 29 dependencies = [ fsspec ]; 30 31 pythonImportsCheck = [ "upath" ]; 32 33 meta = with lib; { 34 description = "Pathlib api extended to use fsspec backends"; 35 homepage = "https://github.com/fsspec/universal_pathlib"; 36 changelog = "https://github.com/fsspec/universal_pathlib/releases/tag/v${version}"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ figsoda ]; 39 }; 40}