diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-02-22 19:55:24 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-05-07 19:29:09 +0300 |
commit | 7e45bd2ec934b503fc440f1f7c32fe124f593401 (patch) | |
tree | 3a0477d8e608957d25fc7245445f97153263e8b8 /gnu | |
parent | 5dfab2374f8322eff9e8a39cc7d2db6a794f2b9b (diff) | |
download | guix-7e45bd2ec934b503fc440f1f7c32fe124f593401.tar.gz |
gnu: Add rust-bindgen-0.63.
* gnu/packages/crates-io.scm (rust-bindgen-0.63): New variable. (rust-bindgen-0.59): Inherit from rust-bindgen-0.63.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 50 |
1 files changed, 42 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 16a056cdb8..3f99475843 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6255,13 +6255,13 @@ that uses Serde for transforming structs into bytes and vice versa!") (package (name "rust-bindgen") (version "0.64.0") - (source (origin - (method url-fetch) - (uri (crate-uri "bindgen" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1d0zmfc5swjgaydbamxb4xm687ahgv18dbcpvrzbf39665h3w964")))) + (source + (origin + (method url-fetch) + (uri (crate-uri "bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1d0zmfc5swjgaydbamxb4xm687ahgv18dbcpvrzbf39665h3w964")))) (build-system cargo-build-system) (arguments `(#:skip-build? #t @@ -6286,6 +6286,19 @@ 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.63 + (package + (inherit rust-bindgen-0.64) + (name "rust-bindgen") + (version "0.63.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "119qkny3swlx8zm0jxp19hizpkym6arh8mlv9ylskch030961n1n")))))) + (define-public rust-bindgen-0.59 (package (inherit rust-bindgen-0.64) @@ -6297,7 +6310,28 @@ bindings to C and C++ libraries.") (uri (crate-uri "bindgen" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1f4fpycxmbrqk8r2x9brhfgjh86mzc6bngn4a9631x78b2jaklib")))))) + (base32 "1f4fpycxmbrqk8r2x9brhfgjh86mzc6bngn4a9631x78b2jaklib")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-cexpr" ,rust-cexpr-0.6) + ("rust-clang-sys" ,rust-clang-sys-1) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-lazycell" ,rust-lazycell-1) + ("rust-log" ,rust-log-0.4) + ("rust-peeking-take-while" ,rust-peeking-take-while-0.1) + ("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-which" ,rust-which-4)) + #:cargo-development-inputs + (("rust-clap" ,rust-clap-2) + ("rust-diff" ,rust-diff-0.1) + ("rust-shlex" ,rust-shlex-1) + ("rust-tempfile" ,rust-tempfile-3)))))) (define-public rust-bindgen-0.58 (package |