summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorJohn Kehayias <john@guixotic.coop>2025-09-25 15:52:22 -0400
committerJohn Kehayias <john@guixotic.coop>2025-09-26 16:54:38 -0400
commit3b55a14377c8bff268b67ddad0270b884bd72a7a (patch)
tree528ebc4dcb7035598335cdbcdd1ae956fdcaf52e /gnu/packages/python-xyz.scm
parentf5d61ca686ed646930bad56cfa7d68b7dc87a114 (diff)
gnu: Add python-sh-1.
This is just for the old docker-compose we still ship (long pending an update to Go version), via next commit for an older python-dotenv. * gnu/packages/python-xyz.scm (python-sh-1): New variable. Change-Id: Idb2b6d476bb9391d9fd8b71aa0184696f3b45aba
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-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 25e1adb3fe..4a2be3c4fb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4809,6 +4809,31 @@ Unicode-to-LaTeX conversion.")
@code{subprocess} feature.")
(license license:expat)))
+;; Old version just for python-dotenv-0.13.0 for docker-compose; remove once
+;; that is updated.
+(define-public python-sh-1
+ (package
+ (inherit python-sh)
+ (version "1.14.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "sh" version))
+ (sha256
+ (base32
+ "03gyss1rhj4in7pgysg4q0hxp3230whinlpy1532ljs99lrx0ywx"))))
+ ;(build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda _
+ ;; XXX: A Python 2 test fails when HOME=/homeless-shelter.
+ (setenv "HOME" "/tmp")
+ (invoke "python" "sh.py" "test"))))))
+ (native-inputs
+ (list python-setuptools))))
+
(define-public python-cftime
(package
(name "python-cftime")