[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: gnu: Add python-iteround.
From: |
guix-commits |
Subject: |
01/05: gnu: Add python-iteround. |
Date: |
Thu, 4 May 2023 12:48:38 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 66993edc172f447b6742c03ae8fb6dbf1b5db56f
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu May 4 10:06:47 2023 +0200
gnu: Add python-iteround.
* gnu/packages/python-xyz.scm (python-iteround): New variable.
---
gnu/packages/python-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7950d4a775..e5d3897bef 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31125,6 +31125,28 @@ sources. For example, it allows you to have all your
casting and
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")