Subject: [PATCH v2 1/1] gnu: Add python-green.

From: get-state <[email-masked]>
Date: Fri, 1 Nov 2024 04:27:14 +0300

From: Wiktor Żelazny <[email-masked]>

* gnu/packages/python-check.scm (python-green): New variable.

Change-Id: I554e8a635ff51413c79e3834fc1b88b34bbda84b
Signed-off-by: get-state <[email-masked]>
---
 gnu/packages/python-check.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index ba66b081a5..3d181c8f7e 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3003,3 +3003,27 @@ (define-public python-vulture
 dead code.  Also, code that is only called implicitly may be reported as
 unused.")
     (license license:expat)))
+
+(define-public python-green
+  (package
+    (name "python-green")
+    (version "4.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "green" version))
+       (sha256
+        (base32 "1cd62nbn5dvlpnsyplp6cb24wd230san8dpm6pnl99n2kwzpq1m4"))))
+    (build-system pyproject-build-system)
+    ;; python-coverage both in requirements.txt and requirements-dev.txt
+    (propagated-inputs (list python-colorama python-coverage python-lxml
+                             python-unidecode))
+    (native-inputs (list python-black python-django python-mypy
+                         python-testtools))
+    (home-page "https://github.com/CleanCut/green")
+    (synopsis "Clean, colorful, fast python test runner")
+    (description
+     "@code{green} is a python test runner which in addition to
+being clean, colorful and fast describes itself as powerful, traditional,
+descriptive, convenient, thorough, embedded, modern, portable and living.")
+    (license license:expat)))
-- 
2.46.0