guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

283/470: gnu: Add rust-bindgen-0.63.


From: guix-commits
Subject: 283/470: gnu: Add rust-bindgen-0.63.
Date: Thu, 16 Mar 2023 03:01:34 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 19e50a8be1285b436cb70670f1434a2450a1d43d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 19:55:24 2023 +0200

    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.
---
 gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++++-----
 1 file changed, 34 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 284d5dd280..1a181c48e7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6173,17 +6173,17 @@ that uses Serde for transforming structs into bytes and 
vice versa!")
        (("rust-serde-bytes" ,rust-serde-bytes-0.10)
         ("rust-serde-derive" ,rust-serde-derive-1))))))
 
-(define-public rust-bindgen-0.59
+(define-public rust-bindgen-0.63
   (package
     (name "rust-bindgen")
-    (version "0.59.2")
+    (version "0.63.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "bindgen" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1f4fpycxmbrqk8r2x9brhfgjh86mzc6bngn4a9631x78b2jaklib"))))
+        (base32 "119qkny3swlx8zm0jxp19hizpkym6arh8mlv9ylskch030961n1n"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
@@ -6191,8 +6191,6 @@ that uses Serde for transforming structs into bytes and 
vice versa!")
        (("rust-bitflags" ,rust-bitflags-1)
         ("rust-cexpr" ,rust-cexpr-0.6)
         ("rust-clang-sys" ,rust-clang-sys-1)
-        ("rust-clap" ,rust-clap-2)
-        ("rust-env-logger" ,rust-env-logger-0.9)
         ("rust-lazy-static" ,rust-lazy-static-1)
         ("rust-lazycell" ,rust-lazycell-1)
         ("rust-log" ,rust-log-0.4)
@@ -6209,6 +6207,37 @@ 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.59
+  (package
+    (inherit rust-bindgen-0.63)
+    (name "rust-bindgen")
+    (version "0.59.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bindgen" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (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-clap" ,rust-clap-2)
+        ("rust-env-logger" ,rust-env-logger-0.9)
+        ("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))))))
+
 (define-public rust-bindgen-0.58
   (package
     (inherit rust-bindgen-0.59)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]