Subject: [bug#58206] [PATCH] gnu: Add python-crossenv.

From: Brian Kubisiak <[email-masked]>
Date: Fri, 30 Sep 2022 15:22:00 -0700

* gnu/packages/python-xyz.scm (python-crossenv): New variable.
---
 gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5fd7dad8e3..73f027dde4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3980,6 +3980,28 @@ (define-public python-virtualenv
      "Virtualenv is a tool to create isolated Python environments.")
     (license license:expat)))
 
+(define-public python-crossenv
+  (package
+    (name "python-crossenv")
+    (version "1.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "crossenv" version))
+       (sha256
+        (base32
+         "07rv4650n19740ixmnsf4qbxyqlgi7f5m1cy8cq0gl01q3r6hps4"))))
+    (build-system python-build-system)
+    (arguments
+     (list #:tests? #f)) ; tests not distributed on pypi
+    (home-page "https://github.com/benfogle/virtualenv")
+    (synopsis "Cross-compiling virtualenv for Python")
+    (description "This package is a tool for cross-compiling extension
+modules. It creates a special virtual environment such that pip or setup.py
+will cross compile packages for you, usually with no further work on your
+part.")
+    (license license:expat)))
+
 (define-public python-markupsafe
   (package
     (name "python-markupsafe")
-- 
2.37.3