unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: 37234@debbugs.gnu.org
Subject: [bug#37234] [PATCH 15/21] gnu: Add python-jose.
Date: Fri, 30 Aug 2019 16:25:33 +0200	[thread overview]
Message-ID: <20190830142539.28376-15-mbakke@fastmail.com> (raw)
In-Reply-To: <20190830142539.28376-1-mbakke@fastmail.com>

* gnu/packages/python-web.scm (python-jose): New public variable.
---
 gnu/packages/python-web.scm | 42 +++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6695bd5e39..6ae5fd6860 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -389,6 +389,48 @@ Swartz.")
 (define-public python2-html2text
   (package-with-python2 python-html2text))
 
+(define-public python-jose
+  (package
+    (name "python-jose")
+    (version "3.0.1")
+    (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
+                "1ahq4m86z504bnlk9z473r7r3dprg5m39900rld797hbczdhqa4f"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "pytest" "-vv" "-m"
+                     ;; Test only the pyca/cryptography backend.
+                     "not (pycryptodome or pycrypto or backend_compatibility)"))))))
+    (native-inputs
+     `(;; All native inputs are for tests.
+       ("python-ecdsa" ,python-ecdsa)
+       ("python-pyasn1" ,python-pyasn1)
+       ("python-pycrypto" ,python-pycrypto)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-runner" ,python-pytest-runner)))
+    (propagated-inputs
+     `(("python-cryptography" ,python-cryptography)
+       ("python-future" ,python-future) ;XXX: remove for >3.0.1
+       ("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-jsondiff
   (package
     (name "python-jsondiff")
-- 
2.22.1

  parent reply	other threads:[~2019-08-30 14:27 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-30 14:23 [bug#37234] [PATCH 00/21] MLflow Marius Bakke
2019-08-30 14:25 ` [bug#37234] [PATCH 01/21] gnu: Add python-gunicorn Marius Bakke
2019-08-30 14:25   ` [bug#37234] [PATCH 02/21] gnu: Add python-databricks-cli Marius Bakke
2019-08-30 14:25   ` [bug#37234] [PATCH 03/21] gnu: Add python-gorilla Marius Bakke
2019-08-30 14:25   ` [bug#37234] [PATCH 04/21] gnu: Add python-querystring-parser Marius Bakke
2019-08-30 14:25   ` [bug#37234] [PATCH 05/21] gnu: Add python-minio Marius Bakke
2019-08-30 14:25   ` [bug#37234] [PATCH 06/21] gnu: python-docker-py: Propagate runtime dependency Marius Bakke
2019-08-30 14:25   ` [bug#37234] [PATCH 07/21] gnu: python-botocore: Update to 1.12.209 Marius Bakke
2019-08-30 14:25   ` [bug#37234] [PATCH 08/21] gnu: Add python-boto3 Marius Bakke
2019-08-30 14:25   ` [bug#37234] [PATCH 09/21] gnu: python-botocore: Remove unused inputs Marius Bakke
2019-08-30 14:25   ` [bug#37234] [PATCH 10/21] gnu: Add python-sshpubkeys Marius Bakke
2019-08-30 14:25   ` [bug#37234] [PATCH 11/21] gnu: Add python-jsonpickle Marius Bakke
2019-08-30 14:25   ` [bug#37234] [PATCH 12/21] gnu: Add python-pytest-aiohttp Marius Bakke
2019-08-30 14:25   ` [bug#37234] [PATCH 13/21] gnu: Add python-aws-xray-sdk Marius Bakke
2019-08-30 14:25   ` [bug#37234] [PATCH 14/21] gnu: Add python-jsondiff Marius Bakke
2019-08-30 14:25   ` Marius Bakke [this message]
2019-08-30 14:25   ` [bug#37234] [PATCH 16/21] gnu: Add python-boto Marius Bakke
2019-08-30 14:25   ` [bug#37234] [PATCH 17/21] gnu: Add python-aws-sam-translator Marius Bakke
2019-08-30 14:25   ` [bug#37234] [PATCH 18/21] gnu: Add python-cfn-lint Marius Bakke
2019-08-30 14:25   ` [bug#37234] [PATCH 19/21] gnu: python-pyyaml: Add version 5.1 Marius Bakke
2019-08-30 14:25   ` [bug#37234] [PATCH 20/21] gnu: Add python-moto Marius Bakke
2019-08-30 14:25   ` [bug#37234] [PATCH 21/21] gnu: Add mlflow Marius Bakke
2019-09-04 12:18 ` [bug#37234] [PATCH 00/21] MLflow Ludovic Courtès
2020-11-21  0:27   ` bug#37234: " Marius Bakke
2020-11-21 14:15     ` [bug#37234] " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190830142539.28376-15-mbakke@fastmail.com \
    --to=mbakke@fastmail.com \
    --cc=37234@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).