gnu: Add python-boltons.

* gnu/packages/python-xyz.scm: (python-boltons) New variable.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
Alex ter Weele 2020-03-24 19:32:46 -05:00 committed by Marius Bakke
parent 858f3834be
commit 09e6675dad
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -18933,3 +18933,34 @@ (define-public python-ldap3
"LDAP3 is a strictly RFC 4510 conforming LDAP V3 pure Python client
library.")
(license license:lgpl3+)))
(define-public python-boltons
(package
(name "python-boltons")
(version "20.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "boltons" version))
(sha256
(base32
"0lrr40qqj3ch8xarvyzbnbjs79pz5aywklllq53l347h1b8xnkg4"))))
(build-system python-build-system)
(home-page "https://github.com/mahmoud/boltons")
(synopsis "Extensions to the Python standard library")
(description
"Boltons is a set of over 230 pure-Python utilities in the same spirit
as and yet conspicuously missing from the standard library, including:
@itemize
@item Atomic file saving, bolted on with fileutils
@item A highly-optimized OrderedMultiDict, in dictutils
@item Two types of PriorityQueue, in queueutils
@item Chunked and windowed iteration, in iterutils
@item Recursive data structure iteration and merging, with iterutils.remap
@item Exponential backoff functionality, including jitter, through
iterutils.backoff
@item A full-featured TracebackInfo type, for representing stack traces, in
tbutils
@end itemize")
(license license:bsd-3)))