[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
117/188: gnu: Add rust-bindgen-0.55.
From: |
guix-commits |
Subject: |
117/188: gnu: Add rust-bindgen-0.55. |
Date: |
Mon, 12 Oct 2020 02:25:14 -0400 (EDT) |
arunisaac pushed a commit to branch master
in repository guix.
commit a5d74972043863fe0afd0b2908f9b85ac6180eaf
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Sat Sep 19 21:38:36 2020 +0530
gnu: Add rust-bindgen-0.55.
* gnu/packages/crates-io.scm (rust-bindgen-0.55): New variable.
(rust-bindgen-0.54): Inherit from rust-bindgen-0.55.
---
gnu/packages/crates-io.scm | 63 ++++++++++++++++++++++++++++++++++++++++------
1 file changed, 56 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4c7aaac..3aa54cd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1583,8 +1583,63 @@ tracebacks.")
that uses Serde for transforming structs into bytes and vice versa!")
(license license:expat)))
+(define-public rust-bindgen-0.55
+ (package
+ (name "rust-bindgen")
+ (version "0.55.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bindgen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0hxlvy9q9984rr3rqaxwmgxjrd9wh11mcc161hv3shz6b7jkrcbm"))))
+ (build-system cargo-build-system)
+ (inputs
+ `(("clang" ,clang)))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cexpr" ,rust-cexpr-0.4)
+ ("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-clang-sys" ,rust-clang-sys-1)
+ ("rust-clap" ,rust-clap-2)
+ ("rust-env-logger" ,rust-env-logger-0.7)
+ ("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))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'enable-unstable-features
+ (lambda _
+ (setenv "RUSTC_BOOTSTRAP" "1")
+ #t))
+ (add-before 'configure 'configure-clang
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "LIBCLANG_PATH" (string-append (assoc-ref inputs "clang")
+ "/lib"))
+ #t)))))
+ (home-page "https://rust-lang.github.io/rust-bindgen/")
+ (synopsis "Generate Rust FFI bindings to C and C++ libraries.")
+ (description "This package can be used to automatically generate Rust FFI
+bindings to C and C++ libraries.")
+ (license license:bsd-3)))
+
(define-public rust-bindgen-0.54
(package
+ (inherit rust-bindgen-0.55)
(name "rust-bindgen")
(version "0.54.1")
(source
@@ -1629,13 +1684,7 @@ that uses Serde for transforming structs into bytes and
vice versa!")
(string-append clang "/lib")))
#t)))))
(inputs
- `(("libclang" ,clang)))
- (home-page "https://rust-lang.github.io/rust-bindgen/")
- (synopsis
- "Automatically generates Rust FFI bindings to C and C++ libraries")
- (description
- "Automatically generates Rust FFI bindings to C and C++ libraries.")
- (license license:bsd-3)))
+ `(("libclang" ,clang)))))
(define-public rust-bindgen-0.53
(package
- 133/188: gnu: Add rust-tracing-futures-0.2., (continued)
- 133/188: gnu: Add rust-tracing-futures-0.2., guix-commits, 2020/10/12
- 132/188: gnu: Add rust-security-framework-1., guix-commits, 2020/10/12
- 143/188: gnu: Add rust-trust-dns-rustls-0.19., guix-commits, 2020/10/12
- 172/188: gnu: Add rust-hyper-tls-0.4., guix-commits, 2020/10/12
- 183/188: gnu: Add rust-sourcemap-6., guix-commits, 2020/10/12
- 175/188: gnu: Add rust-reqwest-0.10., guix-commits, 2020/10/12
- 177/188: gnu: Add rust-napi-sys-0.4., guix-commits, 2020/10/12
- 178/188: gnu: Add rust-napi-build-0.2., guix-commits, 2020/10/12
- 187/188: gnu: Add rust-radix-fmt-1., guix-commits, 2020/10/12
- 101/188: gnu: Add rust-cookie-store-0.12., guix-commits, 2020/10/12
- 117/188: gnu: Add rust-bindgen-0.55.,
guix-commits <=
- 118/188: gnu: Add rust-zstd-sys-1., guix-commits, 2020/10/12
- 130/188: gnu: Add rust-tokio-util-0.3., guix-commits, 2020/10/12
- 124/188: gnu: Add rust-tower-layer-0.3., guix-commits, 2020/10/12
- 129/188: gnu: Add rust-tokio-openssl-0.4., guix-commits, 2020/10/12
- 136/188: gnu: Add rust-tracing-attributes-0.1., guix-commits, 2020/10/12
- 138/188: gnu: Add rust-libmimalloc-sys-0.1., guix-commits, 2020/10/12
- 141/188: gnu: Add rust-tokio-tls-0.3., guix-commits, 2020/10/12
- 147/188: gnu: Add rust-tokio-executor-0.2., guix-commits, 2020/10/12
- 151/188: gnu: Add rust-dashmap-3., guix-commits, 2020/10/12
- 149/188: gnu: Add rust-rustc-hash-1.0., guix-commits, 2020/10/12