me
/
guix
Archived
1
0
Fork 0

gnu: rust-rustls-ffi-0.8: Build with newer cbindgen.

* gnu/packages/crates-io.scm (rust-rustls-ffi-0.8)[arguments]: Add a
phase to allow any version of rust-cbindgen.
[cargo-development-inputs]: Replace rust-cbindgen-0.19 with 0.26.

Change-Id: I72ef3f3782eeca89aaf896a1cf9ba2fc78d3c329
Efraim Flashner 2023-10-28 15:45:23 +03:00
parent 44b06d74ef
commit 30a2b39e5f
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 9 additions and 1 deletions

View File

@ -63561,7 +63561,15 @@ rustc compiler.")
("rust-sct" ,rust-sct-0.7)
("rust-webpki" ,rust-webpki-0.22))
#:cargo-development-inputs
(("rust-cbindgen" ,rust-cbindgen-0.19))))
(("rust-cbindgen" ,rust-cbindgen-0.26))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'adjust-cbindgen-requirement
;; The Cargo.toml in the git repository doesn't specify
;; a version requirement for cbindgen.
(lambda _
(substitute* "Cargo.toml"
(("0\\.19\\.0") "*")))))))
(native-inputs
(list perl))
(home-page "https://github.com/rustls/rustls-ffi")