gnu: Add python-iteround.

* gnu/packages/python-xyz.scm (python-iteround): New variable.
This commit is contained in:
Ricardo Wurmus 2023-05-04 10:06:47 +02:00
parent a5d719012e
commit 66993edc17
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -31125,6 +31125,28 @@ (define-public python-itemloaders
parsing rules in a single place.")
(license license:bsd-3)))
(define-public python-iteround
(package
(name "python-iteround")
(version "1.0.4")
;; PyPI only has wheels.
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/cgdeboer/iteround")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "1irw4sqrsgpc0ibxdv1hlx0d0jr1fqs48bj6mpfylzqkag9ywlfj"))))
(build-system pyproject-build-system)
(native-inputs
(list python-pytest))
(home-page "https://github.com/cgdeboer/iteround")
(synopsis "Sum-safe rounding for Iterables")
(description "Iteround is a standard library sum-safe rounding library for
Python iterables (lists, tuples, dicts).")
(license license:expat)))
(define-public python-hypy-utils
(package
(name "python-hypy-utils")