[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
126/299: gnu: Add python-joserfc.
From: |
guix-commits |
Subject: |
126/299: gnu: Add python-joserfc. |
Date: |
Mon, 13 Jan 2025 15:18:13 -0500 (EST) |
rekado pushed a commit to branch python-team
in repository guix.
commit fd6653733a0a592c084fad8c2b7f0d1169076796
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Jan 3 08:52:18 2025 +0100
gnu: Add python-joserfc.
* gnu/packages/python-web.scm (python-joserfc): New variable.
Change-Id: If4c297022059eb2cc40d8d467ef47e3b8a2aa6eb
---
gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5c47a5ba58..83ddd7c3d2 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1804,6 +1804,35 @@ JSON Web Algorithms (JWA) - collectively can be used to
encrypt and/or sign
content using a variety of algorithms.")
(license license:expat)))
+(define-public python-joserfc
+ (package
+ (name "python-joserfc")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "joserfc" version))
+ (sha256
+ (base32 "11m600bmj70bp96wxhwvyj4d57w0zahzq3vic7s4a4k85pl7nl64"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; No module named 'Crypto'
+ '(list "--ignore=tests/jwe/test_chacha20.py"
+ ;; Deprecation warnings are not raised.
+ "-k" (string-append "not test_guess_bytes_key"
+ " and not test_guess_callable_key"
+ " and not test_guess_str_key"))))
+ (propagated-inputs (list python-cryptography))
+ (native-inputs (list python-pytest python-setuptools python-wheel))
+ (home-page "https://github.com/authlib/joserfc")
+ (synopsis "Python library for JOSE RFCs")
+ (description
+ "This package provides a Python library for JOSE RFCs, including JWS,
+JWE, JWK, JWA, and JWT.")
+ (license license:bsd-3)))
+
(define-public python-jwcrypto
(package
(name "python-jwcrypto")
- 117/299: gnu: python-nr-date: Remove old version of dataclasses., (continued)
- 117/299: gnu: python-nr-date: Remove old version of dataclasses., guix-commits, 2025/01/13
- 108/299: gnu: python-socks: Update to 2.6.1., guix-commits, 2025/01/13
- 119/299: gnu: python-botocore: Limit number of parallel test workers., guix-commits, 2025/01/13
- 123/299: gnu: python-jose: Fix build., guix-commits, 2025/01/13
- 137/299: gnu: python-flask-wtf: Update to 1.2.2., guix-commits, 2025/01/13
- 141/299: gnu: python-pillow: Use pyproject-build-system., guix-commits, 2025/01/13
- 153/299: gnu: python-pydantic-2: Update to 2.10.4., guix-commits, 2025/01/13
- 131/299: gnu: Remove python-dataclasses., guix-commits, 2025/01/13
- 158/299: gnu: python-fastapi: Update to 0.115.6., guix-commits, 2025/01/13
- 148/299: gnu: rust-codspeed-2: Update to 2.7.2., guix-commits, 2025/01/13
- 126/299: gnu: Add python-joserfc.,
guix-commits <=
- 140/299: gnu: python-isort: Disable one test., guix-commits, 2025/01/13
- 145/299: gnu: python-imageio-ffmpeg: Update to 0.5.1., guix-commits, 2025/01/13
- 178/299: gnu: python-flask-htpasswd: Update to 0.5.0., guix-commits, 2025/01/13
- 175/299: gnu: python-omnipath: Update to 1.0.8-0.3d16134., guix-commits, 2025/01/13
- 172/299: gnu: python-fastapi-pagination-minimal: Update to 0.12.34., guix-commits, 2025/01/13
- 174/299: gnu: python-pypika-tortoise: Add missing input., guix-commits, 2025/01/13
- 188/299: gnu: python-cell2cell: Add missing input., guix-commits, 2025/01/13
- 183/299: gnu: python-locust: Update to 2.32.5., guix-commits, 2025/01/13
- 191/299: gnu: python-liana-py: Update to 1.4.0., guix-commits, 2025/01/13
- 184/299: gnu: python-locust: Disable some more tests., guix-commits, 2025/01/13