From 98ec66243582b6391838e8478bfc61c07f0ed005 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sun, 20 Apr 2025 15:11:08 +0800 Subject: gnu: python-blake3: Remove #:cargo-inputs. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- gnu/packages/python-crypto.scm | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'gnu/packages/python-crypto.scm') 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 -- cgit v1.3