guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#74057] [PATCH] gnu: Add python-green.


From: Wiktor Żelazny
Subject: [bug#74057] [PATCH] gnu: Add python-green.
Date: Mon, 28 Oct 2024 11:31:52 +0100

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

Change-Id: I554e8a635ff51413c79e3834fc1b88b34bbda84b
---
 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 efd192ad2c..6cbb7e26e7 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -3001,3 +3001,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)))

base-commit: 4a46758aee863cc31815865cdac4c16fb6a0a879
-- 
2.46.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]