From 7cabeb80d4503ef4b7e533e4ac49a4ca0679f81a Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Thu, 11 Feb 2021 17:46:02 +0100 Subject: gnu: Add python-crayons. * gnu/packages/python-xyz.scm (python-crayons): New variable. --- gnu/packages/python-xyz.scm | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 5e6f902a76..783812eb03 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -30,7 +30,7 @@ ;;; Copyright © 2016, 2017 Stefan Reichör ;;; Copyright © 2016, 2017, 2019 Alex Vong ;;; Copyright © 2016, 2017, 2018 Arun Isaac -;;; Copyright © 2016, 2017, 2018, 2020 Julien Lepiller +;;; Copyright © 2016, 2017, 2018, 2020, 2021 Julien Lepiller ;;; Copyright © 2016–2021 Tobias Geerinckx-Rice ;;; Copyright © 2016, 2017 Thomas Danckaert ;;; Copyright © 2017 Carlo Zancanaro @@ -23739,3 +23739,24 @@ implementations.") "Pivy provides python bindings for Coin, a 3D graphics library with an Application Programming Interface based on the Open Inventor 2.1 API.") (license license:isc))) + +(define-public python-crayons + (package + (name "python-crayons") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "crayons" version)) + (sha256 + (base32 + "0gw106k4b6y8mw7pp52awxyplj2bwvwk315k4sywzwh0g1abfcxx")))) + (build-system python-build-system) + (propagated-inputs + `(("python-colorama" ,python-colorama))) + (home-page "https://github.com/MasterOdin/crayons") + (synopsis "TextUI colors for Python") + (description "This package gives you colored strings for the terminal. +Crayons automatically wraps a given string in the foreground color and +restores the original state after the string is printed.") + (license license:expat))) -- cgit v1.2.3