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