mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
ad938cca88
commit
98ec662435
2 changed files with 82 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue