gnu: Add python-sh.
authorRicardo Wurmus <rekado@elephly.net>
Wed, 23 Jan 2019 17:01:16 +0000 (18:01 +0100)
committerRicardo Wurmus <rekado@elephly.net>
Wed, 23 Jan 2019 17:13:30 +0000 (18:13 +0100)
* gnu/packages/python-xyz.scm (python-sh): New variable.

gnu/packages/python-xyz.scm

index 42b5a09..c01afdd 100644 (file)
@@ -434,6 +434,24 @@ concepts.")
 (define-public python2-h5py
   (package-with-python2 python-h5py))
 
+(define-public python-sh
+  (package
+    (name "python-sh")
+    (version "1.12.14")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sh" version))
+       (sha256
+        (base32
+         "1z2hx357xp3v4cv44xmqp7lli3frndqpyfmpbxf7n76h7s1zaaxm"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/amoffat/sh")
+    (synopsis "Python subprocess replacement")
+    (description "This package provides a replacement for Python's
+@code{subprocess} feature.")
+    (license license:expat)))
+
 (define-public python-netcdf4
   (package
     (name "python-netcdf4")