diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index 50ec68b03ef..ac217f4ed7c 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -810,15 +810,10 @@ ECB and OFB).") (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 - "1qsg06qrqnzixmrm65ibg503y2gffd675h1si4jgh92s315w1jrk")))) - (build-system python-build-system) - (arguments - '(#:phases (modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - (invoke "python" "run.py" "tests"))))))) + (base32 "1qsg06qrqnzixmrm65ibg503y2gffd675h1si4jgh92s315w1jrk")))) + (build-system pyproject-build-system) + (arguments (list #:test-backend #~'unittest)) + (native-inputs (list python-setuptools)) (home-page "https://github.com/wbond/asn1crypto") (synopsis "ASN.1 parser and serializer in Python") (description