gnu: python-base58: Update to 2.1.1.

* gnu/packages/python-crypto.scm (python-base58)[arguments]: Override check
phase.
[native-inputs]: Add PYTHON-PYTEST and PYTHON-PYTEST-BENCHMARK.
This commit is contained in:
Marius Bakke 2022-01-12 20:47:00 +01:00
parent 4ccb22802c
commit c006f68fdb
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 8 additions and 3 deletions

View File

@ -96,17 +96,22 @@ Python. It does not bind to libotr.")
(define-public python-base58
(package
(name "python-base58")
(version "2.0.1")
(version "2.1.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "base58" version))
(sha256
(base32
"0yfaqp76kbdb62hikr5n4jkkfjfmii89grwfy6sw3fmsv5hrap1n"))))
"1317ly0db7nnjg5k58f6nqa0svfcvn446xd5bpiyi0bfbczwpl65"))))
(build-system python-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests? (invoke "pytest" "-vv")))))))
(native-inputs
(list python-pyhamcrest))
(list python-pyhamcrest python-pytest python-pytest-benchmark))
(home-page "https://github.com/keis/base58")
(synopsis "Base58 and Base58Check implementation")
(description "Base58 and Base58Check implementation compatible