gnu: python-streamtracer: Remove #:cargo-inputs.

* gnu/packages/python-xyz.scm (python-streamtracer)
[inputs]: Use ‘cargo-inputs’.
[arguments]: Remove #:cargo-inputs, #:cargo-development-inputs.
* gnu/packages/rust-crates.scm (lookup-cargo-inputs)[python-streamtracer]: New
entry.

Change-Id: I2799b1e6a4caf61308d5afc66385976d332ef080
This commit is contained in:
Hilton Chain 2025-04-20 15:23:02 +08:00
parent 0e7d785a89
commit f4c503c150
No known key found for this signature in database
GPG key ID: ACC66D09CA528292
2 changed files with 42 additions and 9 deletions

View file

@ -1200,15 +1200,6 @@ three consecutive points in a polyline or polygon
(when tests?
(with-directory-excursion #$output
(invoke "pytest" "-vv"))))))
#:cargo-inputs
`(("rust-ndarray" ,rust-ndarray-0.16)
("rust-numpy" ,rust-numpy-0.22)
("rust-num-derive" ,rust-num-derive-0.4)
("rust-num-traits" ,rust-num-traits-0.2)
("rust-rayon-1" ,rust-rayon-1))
#:cargo-development-inputs
`(("rust-float-eq" ,rust-float-eq-1)
("rust-pyo3" ,rust-pyo3-0.22))
#:install-source? #false))
(native-inputs
(list maturin
@ -1218,6 +1209,7 @@ three consecutive points in a polyline or polygon
(propagated-inputs
(list python-numpy
python-packaging))
(inputs (cargo-inputs 'python-streamtracer))
(home-page "https://github.com/sunpy/streamtracer")
(synopsis "Rapid streamline tracing in Python")
(description