~ruther/guix-local

7f64ee93eff8e306673c63a9d6a42e8c37de0f0a — Nicolas Graves 1 year, 2 months ago d3d0a13
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>
1 files changed, 16 insertions(+), 15 deletions(-)

M gnu/packages/python-crypto.scm
M gnu/packages/python-crypto.scm => gnu/packages/python-crypto.scm +16 -15
@@ 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