summaryrefslogtreecommitdiff
path: root/gnu/packages/python-crypto.scm
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2025-04-20 15:11:08 +0800
committerHilton Chain <hako@ultrarare.space>2025-08-21 19:08:47 +0800
commit98ec66243582b6391838e8478bfc61c07f0ed005 (patch)
tree9d18bc4a092d008fb08feb49734740acbbd6c32a /gnu/packages/python-crypto.scm
parentad938cca8826254e73497fca3141f14fe94c0da6 (diff)
gnu: python-blake3: Remove #:cargo-inputs.
* gnu/packages/python-crypto.scm (python-blake3)[inputs]: Use ‘cargo-inputs’. [arguments]: Remove #:cargo-inputs. <#:install-source?>: Disable. * gnu/packages/rust-crates.scm (lookup-cargo-inputs)[python-blake3]: New entry. Change-Id: I78a08b7906482db982e7212448c90be112725a56
Diffstat (limited to 'gnu/packages/python-crypto.scm')
-rw-r--r--gnu/packages/python-crypto.scm11
1 files changed, 3 insertions, 8 deletions
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index 22d6c2da141..7e83a2105ff 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -342,6 +342,7 @@ production use. Include this module and use its backends at your own risk.")
(build-system cargo-build-system)
(arguments
(list
+ #:install-source? #f
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'build-python-module
@@ -389,14 +390,8 @@ exclude =
"/site-packages")))
(mkdir-p site)
(copy-file "target/release/libblake3.so"
- (string-append site "/blake3.so"))))))
- #:cargo-inputs
- `(("rust-blake3" ,rust-blake3-1)
- ("rust-hex" ,rust-hex-0.4)
- ("rust-parking-lot" ,rust-parking-lot-0.11)
- ("rust-pyo3" ,rust-pyo3-0.15)
- ("rust-rayon" ,rust-rayon-1))))
- (inputs (list rust-blake3-1))
+ (string-append site "/blake3.so"))))))))
+ (inputs (cargo-inputs 'python-blake3))
(native-inputs
(list python-wrapper
python-pypa-build