(address . bug-guix@gnu.org)
As the subject states, when you import a cargo package from crates.io,
importer places build dependencies to #:cargo-development-inputs, but
when you build the package, cargo fails to find such dependencies. It
works well if you move build deps from #:cargo-development-inputs to
#:cargo-inputs.
One example of this behavior is terminfo package and its phf-codegen
dependency. Another example is x11-dl package and its pkg-config
dependency
Regards,
Valentin