summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLibreMiami <packaging-guix@libremiami.org>2021-04-11 11:45:22 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-04-11 11:45:47 +0200
commit2a624253bc55e2a94f6581d6e790303575436c96 (patch)
tree2014e72aa4d29bf24165da8f8548a1879f38d515 /gnu
parent8ec8fe0fcc155e0e3e0cc14a3b04b51c1a7ac10c (diff)
downloadguix-2a624253bc55e2a94f6581d6e790303575436c96.tar.gz
gnu: Add python-plumbum.
* gnu/packages/python-xyz.scm (python-plumbum): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 30ad6b9435..582d1b678e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11614,6 +11614,30 @@ Pytest but stripped of Pytest specific details.")
     (propagated-inputs
      `(("python-importlib-metadata" ,python2-importlib-metadata-bootstrap))))))
 
+(define-public python-plumbum
+  (package
+    (name "python-plumbum")
+    (version "1.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "plumbum" version))
+       (sha256
+        (base32 "1kidj821k79dw064rlxh84xamb9h79ychg3pgj81jlvm5hs48xri"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f))                    ;no tests
+    (native-inputs
+     ;; XXX: Not actually used since there are no tests but required for
+     ;; build.
+     `(("python-pytest" ,python-pytest)))
+    (home-page "https://plumbum.readthedocs.io")
+    (synopsis "Python shell combinators library")
+    (description
+     "Plumbum is a library of tools for replacing shell scripts with Python
+code.")
+    (license license:expat)))
+
 (define-public python-tox
   (package
     (name "python-tox")