[Top][All Lists]

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

[bug#42721] [PATCH 1/3] gnu: Add python-immutables.

From: Vinicius Monego
Subject: [bug#42721] [PATCH 1/3] gnu: Add python-immutables.
Date: Wed, 5 Aug 2020 12:33:15 -0300

* gnu/packages/python-xyz.scm (python-immutables): New variable.
This is a dependency for python-contextvars, which is a dependency for
python-curio. Contextvars is part of standard Python 3.7+ and uses this
implementation. Immutables still lives as a separate package.

Sending anyway in case it's useful somewhere else.

 gnu/packages/python-xyz.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9ab0b12383..28499411a7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8551,6 +8551,25 @@ Unicode-aware.  It is not intended as an end-user tool.")
 (define-public python2-xlrd
   (package-with-python2 python-xlrd))
+(define-public python-immutables
+  (package
+    (name "python-immutables")
+    (version "0.14")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "immutables" version))
+       (sha256
+        (base32 "0y0aqw29g525frdnmv9paljzacpp4s21sadfbca5b137iciwr8d0"))))
+    (build-system python-build-system)
+    (home-page "";)
+    (synopsis "High-performance immutable mapping type for Python")
+    (description
+     "An immutable mapping type for Python.  The underlying datastructure is a
+Hash Array Mapped Trie (HAMT) used in Clojure, Scala, Haskell, and other
+functional languages.")
+    (license license:asl2.0)))
 (define-public python-prettytable
     (name "python-prettytable")

reply via email to

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