guix-commits
[Top][All Lists]
Advanced

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

325/416: gnu: rust-bindgen-0.64: Add package.


From: guix-commits
Subject: 325/416: gnu: rust-bindgen-0.64: Add package.
Date: Fri, 14 Apr 2023 15:26:13 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 885060912fbb041069ad744ad9e2f09e678ec770
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Apr 3 09:13:19 2023 -0400

    gnu: rust-bindgen-0.64: Add package.
    
    * gnu/packages/crates-io.scm (rust-bindgen-0.64): New package.
    (rust-bindgen-0.58): Inherit from it.
---
 gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++-----------
 1 file changed, 23 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 03d6e1f0fa..b6abf7e40b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6147,17 +6147,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.64
   (package
     (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"))))
+    (version "0.64.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "bindgen" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1d0zmfc5swjgaydbamxb4xm687ahgv18dbcpvrzbf39665h3w964"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
@@ -6165,8 +6165,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)
@@ -6176,6 +6174,7 @@ that uses Serde for transforming structs into bytes and 
vice versa!")
         ("rust-regex" ,rust-regex-1)
         ("rust-rustc-hash" ,rust-rustc-hash-1)
         ("rust-shlex" ,rust-shlex-1)
+        ("rust-syn" ,rust-syn-1)
         ("rust-which" ,rust-which-4))))
     (home-page "https://rust-lang.github.io/rust-bindgen/";)
     (synopsis "Generate Rust FFI bindings to C and C++ libraries")
@@ -6183,6 +6182,19 @@ 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.64)
+    (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"))))))
+
 (define-public rust-bindgen-0.58
   (package
     (inherit rust-bindgen-0.59)



reply via email to

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