From 3cc911e6f03d5944363cf7bc6b0f9ca1b796d910 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 8 May 2024 00:29:03 +0200 Subject: [PATCH] gnu: Add python-pathable. * gnu/packages/python-xyz.scm (python-pathable): New variable. Change-Id: Ib8d21227db48a9b34941e6c5b291c86efe828ea6 --- gnu/packages/python-xyz.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b2d4bbbd691e193fc4219781d21d390eda6a9d1d..f31324bdd007c18ce87de5ebc86c61fe1acdc8a0 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -11876,6 +11876,25 @@ child application and control it as if a human were typing commands.") functions like pickle, json or PyYAML module.") (license license:bsd-3))) +(define-public python-pathable + (package + (name "python-pathable") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pathable" version)) + (sha256 + (base32 "1ayw9jzlw0qrz51rcfbba00xqq0c7vs3lgwrib67c1z5bcqrv1jw")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #false)) ;there are none + (native-inputs (list python-poetry-core)) + (home-page "https://github.com/p1c2u/pathable") + (synopsis "Object-oriented paths") + (description "With this package you can traverse resources like paths and +access resources on demand with separate accessor layer.") + (license license:asl2.0))) + (define-public python-pathlib2 (package (name "python-pathlib2")