From d3934c7cc250cf9bc539504fcdb7cd3717b8a6bd Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 8 Jun 2023 10:22:41 +0200 Subject: gnu: Add python-pathy. * gnu/packages/python-xyz.scm (python-pathy): New variable. --- gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index cb323b5279..98abf038a5 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -9441,6 +9441,28 @@ all the newest features of the standard @code{pathlib} can be used also on older Python versions.") (license license:expat))) +(define-public python-pathy + (package + (name "python-pathy") + (version "0.10.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "pathy" version)) + (sha256 + (base32 + "12v196q3rai33cfzrmb9pqfqv7ailngssjdrzdf8gzym9hdygmjc")))) + (build-system pyproject-build-system) + (propagated-inputs + (list python-dataclasses python-smart-open python-typer)) + (native-inputs (list python-mock python-pytest)) + (home-page "https://github.com/justindujardin/pathy") + (synopsis "Path interface for local and cloud bucket storage") + (description "Pathy is a python package (with type annotations) for +working with Cloud Bucket storage providers using a @code{pathlib} interface. +It provides @code{pathlib.Path} subclasses for local and cloud bucket +storage.") + (license license:asl2.0))) + (define-public python-importlib-resources (package (name "python-importlib-resources") -- cgit v1.2.3