guix-devel
[Top][All Lists]
Advanced

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

[PATCH 07/12] gnu: python: Add python-sh.


From: David Craven
Subject: [PATCH 07/12] gnu: python: Add python-sh.
Date: Fri, 5 Aug 2016 20:37:25 +0200

* gnu/packages/python.scm (python-sh): New package.
  (python2-sh): New package.
---
 gnu/packages/python.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 3a1552d..3eab007 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9881,3 +9881,26 @@ binary or text.")
 
 (define-public pymongo2-pymongo
   (package-with-python2 python-pymongo))
+
+(define-public python-sh
+  (package
+  (name "python-sh")
+  (version "1.11")
+  (source (origin
+            (method url-fetch)
+            (uri (pypi-uri "sh" version))
+            (sha256
+             (base32
+              "192r0mpv6dmkysjzhc43ddffiwb5g7c76bgr1mb1z2xz9awbj3sr"))))
+  (build-system python-build-system)
+  (inputs
+   `(("python-setuptools" ,python-setuptools)))
+  (arguments
+   `(#:tests? #f)) ; no tests
+  (home-page "https://github.com/amoffat/sh";)
+  (synopsis "Python subprocess interface")
+  (description "Python subprocess interface.")
+  (license license:expat)))
+
+(define-public python2-sh
+  (package-with-python2 python-sh))
-- 
2.9.0



reply via email to

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