diff options
author | Steve George <steve@futurile.net> | 2023-10-23 23:21:03 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-24 14:39:41 +0300 |
commit | 97e865213da95d41969bf60f70a971978672f490 (patch) | |
tree | 3b189420539f79e5a77db5225299ca706d5fa13d /gnu/packages/crates-io.scm | |
parent | c48cf93a0e8c8dac1b632eff68ef216830568b62 (diff) |
gnu: Add rust-bindgen-0.56.
* gnu/packages/crates-io.scm (rust-bindgen-0.56): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: I8e227d6d0f2c7770265987b61f2e27c7d7f3782c
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cfeb312fec..8eb9fc9ee2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -7469,6 +7469,41 @@ bindings to C and C++ libraries.") (inputs (list clang)))) +(define-public rust-bindgen-0.56 + (package + (inherit rust-bindgen-0.57) + (name "rust-bindgen") + (version "0.56.0") + (source (origin + (method url-fetch) + (uri (crate-uri "bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fajmgk2064ca1z9iq1jjkji63qwwz38z3d67kv6xdy0xgdpk8rd")))) + (arguments + (list #:cargo-test-flags ``("--release" "--" + "--skip=test::commandline_multiple_headers") + #:cargo-inputs `(("rust-bitflags" ,rust-bitflags-1) + ("rust-cexpr" ,rust-cexpr-0.4) + ("rust-clang-sys" ,rust-clang-sys-1) + ("rust-clap" ,rust-clap-2) + ("rust-env-logger" ,rust-env-logger-0.8) + ("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-0.1) + ("rust-which" ,rust-which-3)) + #:cargo-development-inputs `(("rust-clap" ,rust-clap-2) + ("rust-diff" ,rust-diff-0.1) + ("rust-shlex" ,rust-shlex-0.1)))) + (inputs (list clang)))) + (define-public rust-bindgen-0.55 (package (inherit rust-bindgen-0.57) |