summaryrefslogtreecommitdiff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm12
1 files changed, 4 insertions, 8 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index ac217f4ed7c..e6fa910fd33 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -868,16 +868,12 @@ of improving usability, security and speed.")
(sha256
(base32
"07k0hgr42vw2j92cln3klxka81f33knd7459cn3d8aszvfh52w6w"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
(list
- #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- ;; As per the Unit Testing subsection in the README.
- (invoke "python" "-m" "crcmod.test")))))))
+ #:test-backend #~'custom
+ #:test-flags #~(list "-m" "crcmod.test")))
+ (native-inputs (list python-setuptools))
(synopsis "CRC generator for Python")
(description "Python module for generating objects that compute the
Cyclic Redundancy Check.")