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
This commit is contained in:
Sharlatan Hellseher 2025-05-06 23:34:57 +01:00
parent 80581a2833
commit 8287b48ebc
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5
2 changed files with 25 additions and 24 deletions

View file

@ -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")