fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
40 lines
846 B
Nix
40 lines
846 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchPypi,
|
|
setuptools,
|
|
setuptools-scm,
|
|
fsspec,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "universal-pathlib";
|
|
version = "0.2.2";
|
|
format = "pyproject";
|
|
|
|
disabled = pythonOlder "3.8";
|
|
|
|
src = fetchPypi {
|
|
pname = "universal_pathlib";
|
|
inherit version;
|
|
hash = "sha256-a8IVVIeSrV2zVTcIscGbr9ni+hZn3JJe1ATJXlKuLxM=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [ fsspec ];
|
|
|
|
pythonImportsCheck = [ "upath" ];
|
|
|
|
meta = with lib; {
|
|
description = "Pathlib api extended to use fsspec backends";
|
|
homepage = "https://github.com/fsspec/universal_pathlib";
|
|
changelog = "https://github.com/fsspec/universal_pathlib/releases/tag/v${version}";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ figsoda ];
|
|
};
|
|
}
|