[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/23: gnu: Add python-jose.
From: |
guix-commits |
Subject: |
16/23: gnu: Add python-jose. |
Date: |
Fri, 20 Nov 2020 19:23:13 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 53346d033287112fb30263eb5a35cf7f2f5621a0
Author: Marius Bakke <mbakke@fastmail.com>
AuthorDate: Mon Aug 19 14:05:01 2019 +0200
gnu: Add python-jose.
* gnu/packages/python-web.scm (python-jose): New public 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 14e40b1..2ba69ba 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -566,6 +566,46 @@ Swartz.")
(base32
"0ppgjplg06kmv9sj0x8p7acczcq2mcfgk1jdjwm4w5w40b0vj5pm")))))))
+(define-public python-jose
+ (package
+ (name "python-jose")
+ (version "3.2.0")
+ (home-page "http://github.com/mpdavis/python-jose")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference (url home-page) (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1xmnf8whzv2gnkkdv0fqcn9qwmcc7y647p4kw9fi3lvcp9kch8vi"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (if tests?
+ (invoke "pytest" "-vv")
+ (format #t "test suite not run~%"))
+ #t)))))
+ (native-inputs
+ `(;; All native inputs are for tests.
+ ("python-pyasn1" ,python-pyasn1)
+ ("python-pytest" ,python-pytest)
+ ("python-pytest-cov" ,python-pytest-cov)
+ ("python-pytest-runner" ,python-pytest-runner)))
+ (propagated-inputs
+ `(("python-cryptography" ,python-cryptography)
+ ("python-rsa" ,python-rsa)
+ ("python-six" ,python-six)))
+ (synopsis "JOSE implementation in Python")
+ (description
+ "The @dfn{JavaScript Object Signing and Encryption} (JOSE) technologies
+- JSON Web Signature (JWS), JSON Web Encryption (JWE), JSON Web Key (JWK), and
+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-jsonpickle
(package
(name "python-jsonpickle")
- 08/23: gnu: Add python-gorilla., (continued)
- 08/23: gnu: Add python-gorilla., guix-commits, 2020/11/20
- 10/23: gnu: Add python-minio., guix-commits, 2020/11/20
- 01/23: gnu: cheese: Remove obsolete input., guix-commits, 2020/11/20
- 04/23: gnu: python-botocore: Update to 1.19.22., guix-commits, 2020/11/20
- 05/23: gnu: awscli: Update to 1.18.183., guix-commits, 2020/11/20
- 06/23: gnu: python-s3transfer: Update to 0.3.3., guix-commits, 2020/11/20
- 07/23: gnu: Add python-databricks-cli., guix-commits, 2020/11/20
- 09/23: gnu: Add python-querystring-parser., guix-commits, 2020/11/20
- 11/23: gnu: python-docker: Propagate runtime dependency., guix-commits, 2020/11/20
- 14/23: gnu: Add python-jsonpickle., guix-commits, 2020/11/20
- 16/23: gnu: Add python-jose.,
guix-commits <=
- 19/23: gnu: python-jsonpatch: Propagate required input., guix-commits, 2020/11/20
- 20/23: gnu: Add python-cfn-lint., guix-commits, 2020/11/20
- 13/23: gnu: Add python-sshpubkeys., guix-commits, 2020/11/20
- 12/23: gnu: Add python-boto3., guix-commits, 2020/11/20
- 17/23: gnu: Add python-boto., guix-commits, 2020/11/20
- 21/23: gnu: Add python-junit-xml., guix-commits, 2020/11/20
- 15/23: gnu: Add python-aws-xray-sdk., guix-commits, 2020/11/20
- 18/23: gnu: Add python-aws-sam-translator., guix-commits, 2020/11/20
- 23/23: gnu: Add python-moto., guix-commits, 2020/11/20
- 22/23: gnu: Add python-flask-cors., guix-commits, 2020/11/20