guix-commits
[Top][All Lists]
Advanced

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

09/12: gnu: Add python-heapdict.


From: guix-commits
Subject: 09/12: gnu: Add python-heapdict.
Date: Wed, 28 Jul 2021 14:32:28 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 45ee09dc96ae7d0c34daf56ed61f864675a5c7c5
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Jul 28 20:22:54 2021 +0200

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f28d13d..0b1fdd0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19514,6 +19514,26 @@ and works only with Python 2 and NumPy < 1.9.")
 (define-public python2-phonenumbers
   (package-with-python2 python-phonenumbers))
 
+(define-public python-heapdict
+  (package
+    (name "python-heapdict")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "HeapDict" version))
+       (sha256
+        (base32
+         "1dnd7v9adqd21bf4ih2wzn9a7b41m0nccb0vbxny9n037rxzb5c4"))))
+    (build-system python-build-system)
+    (home-page "http://stutzbachenterprises.com/";)
+    (synopsis "Heap with decrease-key and increase-key operations")
+    (description
+     "heapdict implements the MutableMapping ABC, meaning it works pretty much
+like a regular Python @code{dict}.  It’s designed to be used as a priority
+queue.")
+    (license license:bsd-3)))
+
 (define-public python-send2trash
   (package
     (name "python-send2trash")



reply via email to

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