~ruther/guix-local

a20e0f6f939224b8723cc36e88358ead7f65b041 — Sharlatan Hellseher 9 months ago 74da72f
gnu: Add python-pycryptodome-test-vectors.

* gnu/packages/python-crypto.scm (python-pycryptodome-test-vectors): New variable.

Change-Id: I8e99ee01a6bca15a6f5bca6494eaf5efac209a5d
1 files changed, 22 insertions(+), 0 deletions(-)

M gnu/packages/python-crypto.scm
M gnu/packages/python-crypto.scm => gnu/packages/python-crypto.scm +22 -0
@@ 1024,6 1024,28 @@ PyCryptodome variants, the other being python-pycryptodomex.")
    (license (list license:bsd-2
                   license:public-domain)))) ; code inherited from PyCrypto

(define-public python-pycryptodome-test-vectors
  (package
    (name "python-pycryptodome-test-vectors")
    (version "1.0.22")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "pycryptodome_test_vectors" version))
       (sha256
        (base32 "19bn19fpnkj39nki2dp8k26is5fpqa3q7agkhk9rvfqfvzvgx3nn"))))
    (build-system pyproject-build-system)
    (arguments
     (list #:tests? #f))        ;no tests
    (native-inputs
     (list python-setuptools)) 
    (home-page "https://www.pycryptodome.org")
    (synopsis "Test vectors for PyCryptodome")
    (description
     "This package provides test vectors for @code{PyCryptodome}.")
    (license (list license:bsd-2
                   license:asl2.0))))

(define-public python-pycryptodomex
  (package (inherit python-pycryptodome)
    (name "python-pycryptodomex")