summaryrefslogtreecommitdiff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-08-13 19:31:59 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-14 13:15:26 +0100
commit7f64ee93eff8e306673c63a9d6a42e8c37de0f0a (patch)
tree7fa691d9dcb4e5a93ea597a9caed1b21979cf718 /gnu/packages/python-crypto.scm
parentd3d0a13c3eed7d15b0c9476e4e25188acd373822 (diff)
gnu: python-josepy: Update to 2.1.0.
* gnu/packages/python-crypto.scm (python-josepy): Update to 2.1.0. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-poetry-core, python-pytest. [propafate-inputs]: Remove python-pyopenssl. [description]: Improve style. Change-Id: I09f14fe5ad1bed2da76057a0295a22aa6ae822e5 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm31
1 files changed, 16 insertions, 15 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index a80da0d470b..79bbf1b08bc 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -917,23 +917,24 @@ Python.")
(define-public python-josepy
(package
(name "python-josepy")
- (version "1.13.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "josepy" version))
- (sha256
- (base32
- "1jaxqyp53paks2z8zyzr50gqvzfxbar7r2qf98kqak4aizrxlcc9"))))
- (build-system python-build-system)
- (arguments
- ;; TODO: some test dependencies are missing (see pyproject.toml).
- '(#:tests? #f))
- (propagated-inputs
- (list python-cryptography python-pyopenssl))
+ (version "2.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/certbot/josepy")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1zplnfrmc4nps9lgl3fz434ja7lmi9v8waydflzvpi75kf5fqxc1"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-poetry-core python-pytest))
+ (propagated-inputs (list python-cryptography))
(home-page "https://github.com/certbot/josepy")
(synopsis "JOSE protocol implementation in Python")
- (description "This package provides a Python implementation of the JOSE
-protocol (Javascript Object Signing and Encryption).")
+ (description
+ "This package provides a Python implementation of the JOSE protocol
+(Javascript Object Signing and Encryption).")
(license license:asl2.0)))
(define pycryptodome-unbundle-tomcrypt-snippet