gnu: Add python-heapdict.

* gnu/packages/python-xyz.scm (python-heapdict): New variable.
This commit is contained in:
Ricardo Wurmus 2021-07-28 20:22:54 +02:00
parent 532cfc5bd2
commit 45ee09dc96
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -19514,6 +19514,26 @@ (define-public python-phonenumbers
(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}. Its designed to be used as a priority
queue.")
(license license:bsd-3)))
(define-public python-send2trash
(package
(name "python-send2trash")