diff options
author | Efraim Flashner <[email protected]> | 2024-11-21 15:23:22 +0200 |
---|---|---|
committer | Efraim Flashner <[email protected]> | 2024-11-28 11:05:39 +0200 |
commit | 2bf08870b907f22496658f63413bb9c9d0076303 (patch) | |
tree | 24a6b884f41651be1f0481032c57c79c724b44ea /gnu/packages/crates-io.scm | |
parent | 595b843e725b9c68b40c2298b2e79d350a7e0f2d (diff) |
gnu: Add rust-bindgen-0.70.
* gnu/packages/crates-io.scm (rust-bindgen-0.70): New variable.
(rust-bindgen-0.69): Inherit from rust-bindgen-0.70.
Change-Id: I96f795952dfbbcb6f38114e8e993ebac97350a0b
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 41 |
1 files changed, 34 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index dbf247e257..3b9a20f728 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7647,17 +7647,17 @@ base32 and base16 (hex)") that uses Serde for transforming structs into bytes and vice versa!") (license license:expat))) -(define-public rust-bindgen-0.69 +(define-public rust-bindgen-0.70 (package (name "rust-bindgen") - (version "0.69.5") + (version "0.70.1") (source (origin (method url-fetch) (uri (crate-uri "bindgen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1240snlcfj663k04bjsg629g4wx6f83flgbjh5rzpgyagk3864r7")))) + (base32 "0vyf0jp6apcy9kjyz4s8vldj0xqycnbzb6zv3skkwiqdi3nqz7gl")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-annotate-snippets" ,rust-annotate-snippets-0.9) @@ -7665,8 +7665,6 @@ that uses Serde for transforming structs into bytes and vice versa!") ("rust-cexpr" ,rust-cexpr-0.6) ("rust-clang-sys" ,rust-clang-sys-1) ("rust-itertools" ,rust-itertools-0.10) - ("rust-lazy-static" ,rust-lazy-static-1) - ("rust-lazycell" ,rust-lazycell-1) ("rust-log" ,rust-log-0.4) ("rust-prettyplease" ,rust-prettyplease-0.2) ("rust-proc-macro2" ,rust-proc-macro2-1) @@ -7674,8 +7672,7 @@ that uses Serde for transforming structs into bytes and vice versa!") ("rust-regex" ,rust-regex-1) ("rust-rustc-hash" ,rust-rustc-hash-1) ("rust-shlex" ,rust-shlex-1) - ("rust-syn" ,rust-syn-2) - ("rust-which" ,rust-which-4)))) + ("rust-syn" ,rust-syn-2)))) (inputs (list clang)) (home-page "https://rust-lang.github.io/rust-bindgen/") (synopsis "Generate Rust FFI bindings to C and C++ libraries") @@ -7683,6 +7680,36 @@ that uses Serde for transforming structs into bytes and vice versa!") bindings to C and C++ libraries.") (license license:bsd-3))) +(define-public rust-bindgen-0.69 + (package + (inherit rust-bindgen-0.70) + (name "rust-bindgen") + (version "0.69.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1240snlcfj663k04bjsg629g4wx6f83flgbjh5rzpgyagk3864r7")))) + (arguments + `(#:cargo-inputs (("rust-annotate-snippets" ,rust-annotate-snippets-0.9) + ("rust-bitflags" ,rust-bitflags-2) + ("rust-cexpr" ,rust-cexpr-0.6) + ("rust-clang-sys" ,rust-clang-sys-1) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-lazycell" ,rust-lazycell-1) + ("rust-log" ,rust-log-0.4) + ("rust-prettyplease" ,rust-prettyplease-0.2) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-regex" ,rust-regex-1) + ("rust-rustc-hash" ,rust-rustc-hash-1) + ("rust-shlex" ,rust-shlex-1) + ("rust-syn" ,rust-syn-2) + ("rust-which" ,rust-which-4)))))) + (define-public rust-bindgen-0.68 (package (inherit rust-bindgen-0.69) |