gnu: Add python-xdg.

* gnu/packages/python-xyz.scm (python-xdg): New variable.
This commit is contained in:
Ricardo Wurmus 2023-05-05 15:37:22 +02:00
parent 25623a3b34
commit fcd397e4a6
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -16169,6 +16169,28 @@ (define-public python-pyfiglet
in pure Python.")
(license license:expat)))
(define-public python-xdg
(package
(name "python-xdg")
(version "6.0.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "xdg" version))
(sha256
(base32
"14hwk9j5zjc8rvirw95mrb07zdnpjaxjx2mj3rnq8pnlyaa809r4"))))
(build-system pyproject-build-system)
(native-inputs
(list python-poetry-core))
(home-page "https://github.com/srstevenson/xdg-base-dirs")
(synopsis "Variables defined by the XDG Base Directory Specification")
(description "xdg-base-dirs is a Python module that provides functions to
return paths to the directories defined by the XDG Base Directory
Specification, to save you from duplicating the same snippet of logic in every
Python utility you write that deals with user cache, configuration, or data
files.")
(license license:isc)))
(define-public python-xdo
(package
(name "python-xdo")