[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
138/242: gnu: Add python-cbor2.
From: |
guix-commits |
Subject: |
138/242: gnu: Add python-cbor2. |
Date: |
Thu, 12 May 2022 14:14:20 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit c5d5c14101535b0a44ccb5fdfb72fad265702a8b
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sun Apr 17 23:18:30 2022 -0400
gnu: Add python-cbor2.
* gnu/packages/python-web.scm (python-cbor2): New variable.
---
gnu/packages/python-web.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 9c026ba53c..36d7fb03f9 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -575,6 +575,46 @@ Model} (SAM) templates into AWS CloudFormation templates.")
emit information from within their applications to the AWS X-Ray service.")
(license license:asl2.0)))
+(define-public python-cbor2
+ (package
+ (name "python-cbor2")
+ (version "5.4.2.post1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "cbor2" version))
+ (sha256
+ (base32 "15y78xcc3zkmvj1mdzz8gyhf3apbl91073kwhzbjk5abc1civwlw"))))
+ (build-system python-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "pytest" "-vv")))))))
+ (native-inputs (list python-pytest python-pytest-cov
python-setuptools-scm))
+ (home-page "https://github.com/agronholm/cbor2")
+ (synopsis "Concise Binary Object Representation (CBOR) (de)serializer")
+ (description "This Python library provides encoding and decoding for the
+Concise Binary Object
+Representation (CBOR) (@url{https://www.rfc-editor.org/rfc/rfc8949.html, RFC
+8949}) serialization format. The specification is fully compatible with the
+original RFC 7049. Among its features are:
+@itemize
+@item Simple API like the @code{json} or @code{pickle} modules.
+@item Support many CBOR tags with stdlib objects.
+@item Generic tag decoding.
+@item Shared value references including cyclic references.
+@item String references compact encoding with repeated strings replaced with
+indices.
+@item Optional C module backend tested on big- and little-endian architectures.
+@item Extensible tagged value handling using tag_hook and object_hook on
+decode and default on encode.
+@end itemize")
+ (license license:expat)))
+
(define-public python-cfn-lint
(package
(name "python-cfn-lint")
- 88/242: gnu: Add texlive-bidi., (continued)
- 88/242: gnu: Add texlive-bidi., guix-commits, 2022/05/12
- 108/242: gnu: python-anyio: Replace python-pytest-trio with python-trio., guix-commits, 2022/05/12
- 96/242: gnu: Add python-pydevd., guix-commits, 2022/05/12
- 110/242: gnu: python-bleach: Update to 5.0.0., guix-commits, 2022/05/12
- 95/242: gnu: python-trio: Update to 0.20.0., guix-commits, 2022/05/12
- 112/242: gnu: Add texlive-lm-math., guix-commits, 2022/05/12
- 86/242: gnu: Add font-amiri., guix-commits, 2022/05/12
- 113/242: gnu: python-nbconvert: Update to 6.5.0., guix-commits, 2022/05/12
- 115/242: gnu: python-nbval: Fix build., guix-commits, 2022/05/12
- 121/242: gnu: Add python-pep621., guix-commits, 2022/05/12
- 138/242: gnu: Add python-cbor2.,
guix-commits <=
- 154/242: gnu: python-hypothesis-6.23: Update to 6.43.3., guix-commits, 2022/05/12
- 164/242: gnu: python-voila: Update to 0.3.5., guix-commits, 2022/05/12
- 165/242: gnu: python-sparqlwrapper: Update to 2.0.0., guix-commits, 2022/05/12
- 187/242: gnu: Add python-pyyaml-env-tag., guix-commits, 2022/05/12
- 186/242: gnu: Add python-mergedeep., guix-commits, 2022/05/12
- 176/242: gnu: Add python-bson., guix-commits, 2022/05/12
- 198/242: gnu: Add python-pydyf., guix-commits, 2022/05/12
- 216/242: gnu: python-sphinx-copybutton: Update to 0.5.0., guix-commits, 2022/05/12
- 229/242: gnu: python-pudb: Update to 2022.1.1 and rename from pudb., guix-commits, 2022/05/12
- 209/242: gnu: python-flask-login: Update to 0.6.0., guix-commits, 2022/05/12