[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
132/166: gnu: Add python-cbor2.
From: |
guix-commits |
Subject: |
132/166: gnu: Add python-cbor2. |
Date: |
Tue, 19 Apr 2022 09:18:09 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython+polyglossia
in repository guix.
commit 71cc74b182ef3e655a4865d6791137bb0ab96387
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 5112fa132b..a86a5a9add 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")
- 127/166: gnu: python-websockets: Update to 10.3 and enable tests., (continued)
- 127/166: gnu: python-websockets: Update to 10.3 and enable tests., guix-commits, 2022/04/19
- 128/166: gnu: Add python-strict-rfc3339., guix-commits, 2022/04/19
- 139/166: gnu: python-sqlalchemy: Run tests in parallel via xdist., guix-commits, 2022/04/19
- 90/166: gnu: python-click: Update to 8.1.2 and honor TESTS?., guix-commits, 2022/04/19
- 97/166: gnu: Add python-debugpy., guix-commits, 2022/04/19
- 102/166: gnu: python-nest-asyncio: Update to 1.5.5., guix-commits, 2022/04/19
- 110/166: gnu: python-bleach: Update to 5.0.0., guix-commits, 2022/04/19
- 113/166: gnu: python-nbconvert: Update to 6.5.0., guix-commits, 2022/04/19
- 115/166: gnu: python-nbval: Fix build., guix-commits, 2022/04/19
- 131/166: gnu: Add python-openapi-spec-validator., guix-commits, 2022/04/19
- 132/166: gnu: Add python-cbor2.,
guix-commits <=
- 152/166: gnu: python-pandas: Build and run tests in parallel., guix-commits, 2022/04/19
- 155/166: gnu: python-pynndescent: Update to 0.5.6., guix-commits, 2022/04/19
- 89/166: gnu: Add font-gfs-ambrosia., guix-commits, 2022/04/19
- 111/166: gnu: Add texlive-unicode-math., guix-commits, 2022/04/19
- 120/166: gnu: python-sphinx: Propagate TexLive dependencies., guix-commits, 2022/04/19
- 119/166: gnu: Add python-docrepr., guix-commits, 2022/04/19
- 130/166: gnu: Add python-openapi-schema-validator., guix-commits, 2022/04/19
- 135/166: gnu: Add python-httpx-bootstrap., guix-commits, 2022/04/19
- 147/166: gnu: Add python-jupyterlab-server., guix-commits, 2022/04/19
- 156/166: gnu: python-umap-learn: Update to 0.5.3., guix-commits, 2022/04/19