summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorHartmut Goebel <h.goebel@crazy-compilers.com>2021-08-27 15:46:55 +0200
committerHartmut Goebel <h.goebel@crazy-compilers.com>2021-09-23 19:01:01 +0200
commita24ae17e230d8d1f8b036c298e68fdcb08edff62 (patch)
tree68c5c98346324690cabfcb9b475cfe49880710c2 /gnu/packages
parent12308d19b4b6008e8d8d9c70efa6b72a64ab3cf7 (diff)
gnu: Add python-platformdirs.
* gnu/packages/python-xyz.scm (python-platformdirs): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/python-xyz.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7239fa1584..09c1f75d28 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26799,3 +26799,28 @@ services' API. It includes a pre-defined set of classes for API resources
that initialize themselves dynamically from API responses which makes it
compatible with a wide range of versions of the Stripe API.")
(license license:expat)))
+
+(define-public python-platformdirs
+ (package
+ (name "python-platformdirs")
+ (version "2.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "platformdirs" version))
+ (sha256
+ (base32 "07hq5qrp7pqj63iczg01wbf5ii6f0ncd0dq5mzkdhsslmg9slbb3"))))
+ (build-system python-build-system)
+ (native-inputs
+ `(("python-appdirs" ,python-appdirs)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)
+ ("python-pytest-mock" ,python-pytest-mock)))
+ (home-page "https://github.com/platformdirs/platformdirs")
+ (synopsis "Determine the appropriate platform-specific directories")
+ (description "When writing applications, finding the right location to
+store user data and configuration varies per platform. Even for
+single-platform apps, there may by plenty of nuances in figuring out the right
+location. This small Python module determines the appropriate
+platform-specific directories, e.g. the ``user data dir''.")
+ (license license:expat)))