From 412e84ce5e2f03ab67c29d751667bfd7b53ef34a Mon Sep 17 00:00:00 2001 From: ng0 Date: Sat, 21 Oct 2017 22:46:06 +0000 Subject: [PATCH 1/6] gnu: Add python-humanfriendly. * gnu/packages/python.scm (python-humanfriendly): New variable. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 0684090c3..b64bdeda6 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1099,6 +1099,33 @@ etc.). The package is structured to make adding new modules easy.") "python" (package-inputs pycrypto))))))) +(define-public python-humanfriendly + (package + (name "python-humanfriendly") + (version "4.4.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "humanfriendly" version)) + (sha256 + (base32 + "0pisgizjql86785jchfjv217g0lsgk114g2lja5j4y3lsc3b9szi")))) + (build-system python-build-system) + (arguments + `(; Tests depend on coloredlogs, which in turn depends on humanfriendly. + #:tests? #f)) + (propagated-inputs + `(("python-monotonic" ,python-monotonic))) + (home-page "https://humanfriendly.readthedocs.io") + (synopsis "Human friendly input and output in Python") + (description + "The functions and classes in the humanfriendly package can be used +to make text interfaces more user friendly.") + (license license:expat))) + +(define-public python2-humanfriendly + (package-with-python2 python-humanfriendly)) + (define-public python-eventlet (package (name "python-eventlet") -- 2.14.2