From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:46804) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSkRB-000633-6e for guix-patches@gnu.org; Sun, 26 Apr 2020 12:47:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSkQw-0008UE-S5 for guix-patches@gnu.org; Sun, 26 Apr 2020 12:47:23 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50766) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSkQu-0008Ty-Iz for guix-patches@gnu.org; Sun, 26 Apr 2020 12:47:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSkQu-0004WX-G1 for guix-patches@gnu.org; Sun, 26 Apr 2020 12:47:08 -0400 Subject: [bug#40874] [PATCH 11/94] gnu: Add rust-bindgen-0.51. Resent-Message-ID: From: Hartmut Goebel Date: Sun, 26 Apr 2020 18:44:50 +0200 Message-Id: <49a7f44fa76f6a1e757017fb4ba07b114c314e3f.1587919228.git.h.goebel@crazy-compilers.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40874@debbugs.gnu.org * gnu/packages/crates-io.scm (rust-bindgen-0.51): New variable. --- gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3563baef38..7c9ab8b324 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2019 Tobias Geerinckx-Rice ;;; Copyright © 2019, 2020 John Soo ;;; Copyright © 2020 Jakub Kądziołka +;;; Copyright © 2019, 2020 Hartmut Goebel ;;; ;;; This file is part of GNU Guix. ;;; @@ -1087,6 +1088,46 @@ and no more (caveat: black_box is still missing!).") that uses Serde for transforming structs into bytes and vice versa!") (license license:expat))) +(define-public rust-bindgen-0.51 + (package + (name "rust-bindgen") + (version "0.51.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "bindgen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0x9gndlnwmxsihxvsc3izyyss7g8b2djn0daafshj1gcy69i7mzb")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-cexpr" ,rust-cexpr-0.3) + ("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-clang-sys" ,rust-clang-sys-0.28) + ("rust-clap" ,rust-clap-2) + ("rust-env-logger" ,rust-env-logger-0.6) + ("rust-fxhash" ,rust-fxhash-0.2) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-log" ,rust-log-0.4) + ("rust-peeking-take-while" ,rust-peeking-take-while-0.1) + ("rust-proc-macro2" ,rust-proc-macro2-0.4) + ("rust-quote" ,rust-quote-1.0) + ("rust-regex" ,rust-regex-1.1) + ("rust-rustc-hash" ,rust-rustc-hash-1.0) + ("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)))) + (home-page "https://rust-lang.github.io/rust-bindgen/") + (synopsis "Automatically generates FFI bindings to C and C++libraries") + (description "Automatically generates Rust FFI bindings to C and C++ +libraries.") + (license license:bsd-3))) + (define-public rust-bindgen-0.50 (package (name "rust-bindgen") -- 2.21.3