gnu: Add python-crossenv.
authorBrian Kubisiak <brian@kubisiak.com>
Fri, 30 Sep 2022 22:22:00 +0000 (15:22 -0700)
committerLudovic Courtès <ludo@gnu.org>
Fri, 14 Oct 2022 22:44:09 +0000 (00:44 +0200)
* gnu/packages/python-xyz.scm (python-crossenv): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
gnu/packages/python-xyz.scm

index 7c647bd..c3efddd 100644 (file)
@@ -4031,6 +4031,28 @@ e.g. filters, callbacks and errbacks can all be promises.")
      "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 @command{pip} or
+@file{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")