guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/12: gnu: Add python-xdg.


From: guix-commits
Subject: 10/12: gnu: Add python-xdg.
Date: Fri, 5 May 2023 09:40:28 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit fcd397e4a6778d16267673f08084930f07cbcb37
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri May 5 15:37:22 2023 +0200

    gnu: Add python-xdg.
    
    * gnu/packages/python-xyz.scm (python-xdg): 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 38af693ab6..224cfacf7a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -16169,6 +16169,28 @@ interface to the Amazon Web Services (AWS) API.")
 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]