summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-05-06 23:34:57 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-05-06 23:35:51 +0100
commit8287b48ebc0a8321885b9f3f908fb32c21924711 (patch)
treebe3d9b91a3ba140df3406d1dfd78719e3cdbeb18 /gnu/packages/python-xyz.scm
parent80581a283397e3cb47647661ce2c53d2c3e19864 (diff)
gnu: python-pastel: Move to python-xyz.
* gnu/packages/graphics.scm (python-pastel): Move from here ... * gnu/packages/python-xyz.scm: ... to here. Change-Id: I0179d8111db7a8ef088461524f2ca481534100e7
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ca0c3962680..399786c1427 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -56,6 +56,7 @@
;;; Copyright © 2018 Luther Thompson <lutheroto@gmail.com>
;;; Copyright © 2018 Vagrant Cascadian <vagrant@debian.org>
;;; Copyright © 2015, 2018 Pjotr Prins <pjotr.guix@thebird.nl>
+;;; Copyright © 2019 tlecarrour@easter-eggs.com <tlecarrour@easter-eggs.com>
;;; Copyright © 2019, 2020 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2019 Sam <smbaines8@gmail.com>
;;; Copyright © 2019, 2023 Jack Hill <jackhill@jackhill.us>
@@ -794,6 +795,30 @@ comparison operators, as defined in the original
processes, in parallel, in the console, with an interactive TUI.")
(license license:expat)))
+(define-public python-pastel
+ (package
+ (name "python-pastel")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "pastel" version))
+ (sha256
+ (base32
+ "0dnaw44ss10i10z4ksy0xljknvjap7rb7g0b8p6yzm5x4g2my5a6"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases (modify-phases %standard-phases
+ (replace 'check
+ (lambda _ (invoke "pytest" "pastel" "tests/"))))))
+ (native-inputs
+ (list python-pytest))
+ (home-page "https://github.com/sdispater/pastel")
+ (synopsis "Library to colorize strings in your terminal")
+ (description "Pastel is a simple library to help you colorize strings in
+your terminal.")
+ (license license:expat)))
+
(define-public python-pyxdameraulevenshtein
(package
(name "python-pyxdameraulevenshtein")