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

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

Change-Id: I798a11ce11236772ac916bad1bdfd8a5a2a84df6
This commit is contained in:
Hilton Chain 2025-04-20 15:40:17 +08:00
parent fa0e2f9758
commit 2e261b02b2
No known key found for this signature in database
GPG key ID: ACC66D09CA528292
2 changed files with 37 additions and 6 deletions

View file

@ -12685,12 +12685,6 @@ numpy arrays to TIFF, BigTIFF, and ImageJ hyperstack compatible files.")
(arguments
(list
#:install-source? #false
#:cargo-inputs
(list rust-pyo3-0.22
rust-fancy-regex-0.13
rust-regex-1
rust-rustc-hash-1
rust-bstr-1)
#:imported-modules
(append %pyproject-build-system-modules
%cargo-build-system-modules)
@ -12714,6 +12708,7 @@ numpy arrays to TIFF, BigTIFF, and ImageJ hyperstack compatible files.")
(replace 'install
(assoc-ref py:%standard-phases 'install)))))
(propagated-inputs (list python-regex python-requests))
(inputs (cargo-inputs 'python-tiktoken))
(native-inputs
(list python-setuptools
python-setuptools-rust