[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
138/233: gnu: Add python-cbor2.
From: |
guix-commits |
Subject: |
138/233: gnu: Add python-cbor2. |
Date: |
Sun, 24 Apr 2022 23:39:55 -0400 (EDT) |
apteryx pushed a commit to branch wip-ipython-polyglossia
in repository guix.
commit 1a4591b1435be14a6d6e89daf674de3bf82322c1
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 1c46070bc9..90f9842253 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")
- 111/233: gnu: Add texlive-unicode-math., (continued)
- 111/233: gnu: Add texlive-unicode-math., guix-commits, 2022/04/24
- 116/233: gnu: python-send2trash: Update to 1.8.0 and update home page., guix-commits, 2022/04/24
- 117/233: gnu: python-notebook: Update to 6.4.10., guix-commits, 2022/04/24
- 118/233: gnu: Add python-nbdime., guix-commits, 2022/04/24
- 120/233: gnu: python-sphinx: Propagate TexLive dependencies., guix-commits, 2022/04/24
- 121/233: gnu: Add python-pep621., guix-commits, 2022/04/24
- 123/233: gnu: Add python-sphinx-sitemap., guix-commits, 2022/04/24
- 124/233: gnu: texlive-fontspec: Add missing propagated inputs., guix-commits, 2022/04/24
- 128/233: download: Add a mirror for CTAN., guix-commits, 2022/04/24
- 136/233: gnu: Add python-openapi-schema-validator., guix-commits, 2022/04/24
- 138/233: gnu: Add python-cbor2.,
guix-commits <=
- 157/233: gnu: python-numba: Update to 0.55.1., guix-commits, 2022/04/24
- 142/233: gnu: python-httpx: Update to 0.22.0., guix-commits, 2022/04/24
- 166/233: gnu: python-sparqlkernel: Use gexps and fix inputs., guix-commits, 2022/04/24
- 168/233: gnu: python-jupyter-kernel-mgmt: Update to 0.5.1 and disable tests., guix-commits, 2022/04/24
- 171/233: gnu: python-cmarkgfm: Update to 0.8.0., guix-commits, 2022/04/24
- 175/233: gnu: python-parse-type: Update to 0.6.0, fixing build., guix-commits, 2022/04/24
- 181/233: gnu: Add python-argparse-addons., guix-commits, 2022/04/24
- 197/233: gnu: Remove python-orator due to being broken and unmaintained., guix-commits, 2022/04/24
- 151/233: gnu: Add python-dictpath., guix-commits, 2022/04/24
- 174/233: gnu: conan: Update to 1.47.0 and relax PyYAML requirement., guix-commits, 2022/04/24