[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/28: gnu: Add rust-bindgen-0.54.
From: |
guix-commits |
Subject: |
05/28: gnu: Add rust-bindgen-0.54. |
Date: |
Sun, 12 Jul 2020 08:55:44 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 018a1d291d193ef45dcbe5f23a70c33efae96e28
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Jul 12 09:58:20 2020 +0300
gnu: Add rust-bindgen-0.54.
* gnu/packages/crates-io.scm (rust-bindgen-0.54): New variable.
(rust-bindgen-0.53): Inherit from rust-bindgen-0.54.
---
gnu/packages/crates-io.scm | 54 ++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 50 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7967785..79323bb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1326,10 +1326,10 @@ tracebacks.")
that uses Serde for transforming structs into bytes and vice versa!")
(license license:expat)))
-(define-public rust-bindgen-0.53
+(define-public rust-bindgen-0.54
(package
(name "rust-bindgen")
- (version "0.53.3")
+ (version "0.54.1")
(source
(origin
(method url-fetch)
@@ -1338,10 +1338,11 @@ that uses Serde for transforming structs into bytes and
vice versa!")
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1rc9grfd25bk5b2acmqljhx55ndbzmh7w8b3x6q707cb4s6rfan7"))))
+ "0dn7dlwa0abjlqbl2kvwfdy6k6kgcqg6ixcjmk6pc3dpps09pm7l"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
+ `(#:tests? #f ; not all test files included
+ #:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
("rust-cexpr" ,rust-cexpr-0.4)
("rust-cfg-if" ,rust-cfg-if-0.1)
@@ -1379,6 +1380,51 @@ that uses Serde for transforming structs into bytes and
vice versa!")
"Automatically generates Rust FFI bindings to C and C++ libraries.")
(license license:bsd-3)))
+(define-public rust-bindgen-0.53
+ (package
+ (inherit rust-bindgen-0.54)
+ (name "rust-bindgen")
+ (version "0.53.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "bindgen" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1rc9grfd25bk5b2acmqljhx55ndbzmh7w8b3x6q707cb4s6rfan7"))))
+ (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-0.29)
+ ("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.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-peeking-take-while" ,rust-peeking-take-while-0.1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1.0)
+ ("rust-quote" ,rust-quote-1.0)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-rustc-hash" ,rust-rustc-hash-1.1)
+ ("rust-shlex" ,rust-shlex-0.1)
+ ("rust-which" ,rust-which-3.1))
+ #: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 'set-environmental-variable
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((clang (assoc-ref inputs "libclang")))
+ (setenv "LIBCLANG_PATH"
+ (string-append clang "/lib")))
+ #t)))))))
+
(define-public rust-bindgen-0.52
(package
(inherit rust-bindgen-0.53)
- branch master updated (d67826a -> 4fc9593), guix-commits, 2020/07/12
- 01/28: gnu: Add rust-cexpr-0.4., guix-commits, 2020/07/12
- 02/28: gnu: Add rust-clang-sys-0.29., guix-commits, 2020/07/12
- 04/28: gnu: rust-aos-sys-0.1: Update to 0.1.4., guix-commits, 2020/07/12
- 03/28: gnu: Add rust-bindgen-0.53., guix-commits, 2020/07/12
- 07/28: gnu: Add rust-terminal-size-0.1., guix-commits, 2020/07/12
- 05/28: gnu: Add rust-bindgen-0.54.,
guix-commits <=
- 06/28: gnu: rust-dav1d-sys-0.3: Update to 0.3.2., guix-commits, 2020/07/12
- 09/28: gnu: Add rust-fern-0.6., guix-commits, 2020/07/12
- 11/28: gnu: Add rust-num-rational-0.3., guix-commits, 2020/07/12
- 10/28: gnu: Add rust-num-bigint-0.3., guix-commits, 2020/07/12
- 14/28: gnu: Add rust-png-0.16., guix-commits, 2020/07/12
- 15/28: gnu: Add rust-num-complex-0.3., guix-commits, 2020/07/12
- 13/28: gnu: Add rust-deflate-0.8., guix-commits, 2020/07/12
- 18/28: gnu: Add rust-predicates-core-1., guix-commits, 2020/07/12
- 17/28: gnu: Add rust-image-0.23., guix-commits, 2020/07/12
- 16/28: gnu: Add rust-tiff-0.5., guix-commits, 2020/07/12