[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67642] [PATCH v2 1/4] gnu: Add python-userpath.
From: |
Nicolas Graves |
Subject: |
[bug#67642] [PATCH v2 1/4] gnu: Add python-userpath. |
Date: |
Sat, 15 Jun 2024 19:09:43 +0200 |
From: Vinicius Monego <monego@posteo.net>
* gnu/packages/python-xyz.scm (python-userpath): New variable.
Change-Id: Ic263ee8e1208273b225aa7e2c14dd85f085254e7
---
gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d4b5976218b..a6dd19dddd4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -32240,6 +32240,29 @@ (define-public python-inform
cleanly print different types of messages.")
(license license:gpl3+)))
+(define-public python-userpath
+ (package
+ (name "python-userpath")
+ (version "1.9.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "userpath" version))
+ (sha256
+ (base32 "05fqxzdi27vqm5lywxs6bm2j4d8k91fx2ihqhg65g4h6mf6jhlkc"))))
+ (build-system pyproject-build-system)
+ (arguments
+ ;; See https://github.com/ofek/userpath/issues/43.
+ ;; In Guix, tests try to find the temporary build directory in PATH, but
+ ;; only the store output is present.
+ (list #:tests? #f))
+ (native-inputs (list python-hatchling python-pytest))
+ (propagated-inputs (list python-click))
+ (home-page "https://github.com/ofek/userpath")
+ (synopsis "Add locations to the user's PATH")
+ (description "This package provides a tool for modifying a user's PATH.")
+ (license license:expat)))
+
(define-public python-nestedtext
(package
(name "python-nestedtext")
--
2.45.1
- [bug#67642] [PATCH v2 1/4] gnu: Add python-userpath.,
Nicolas Graves <=