From 2a624253bc55e2a94f6581d6e790303575436c96 Mon Sep 17 00:00:00 2001 From: LibreMiami Date: Sun, 11 Apr 2021 11:45:22 +0200 Subject: gnu: Add python-plumbum. * gnu/packages/python-xyz.scm (python-plumbum): New variable. Signed-off-by: Nicolas Goaziou --- gnu/packages/python-xyz.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'gnu/packages') 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 @@ (define-public python2-pluggy-bootstrap (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") -- cgit v1.2.3