guix-commits
[Top][All Lists]
Advanced

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

56/156: gnu: Add rust-cbindgen-0.26.


From: guix-commits
Subject: 56/156: gnu: Add rust-cbindgen-0.26.
Date: Tue, 24 Oct 2023 08:52:17 -0400 (EDT)

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

commit 19003bf84aff99e6aa2eef60559d14772ea2aab2
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 24 09:06:32 2023 +0300

    gnu: Add rust-cbindgen-0.26.
    
    * gnu/packages/rust-apps.scm (rust-cbindgen-0.26): New variable.
    
    Change-Id: I244c167c08498dbc8afc5208458bb5d1c0aee12e
---
 gnu/packages/rust-apps.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 4a4247751b..27dd261338 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -1370,6 +1370,36 @@ rebase.")
      "This package provides a tool for generating C/C++ bindings to Rust 
code.")
     (license license:mpl2.0)))
 
+(define-public rust-cbindgen-0.26
+  (package
+    (inherit rust-cbindgen)
+    (name "rust-cbindgen")
+    (version "0.26.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cbindgen" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0jdbxmn5h5nlr4bifx85gny309djv5djs9q78fa1d7sj0wdw2sys"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-clap" ,rust-clap-3)
+        ("rust-heck" ,rust-heck-0.4)
+        ("rust-indexmap" ,rust-indexmap-1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-syn" ,rust-syn-1)
+        ("rust-tempfile" ,rust-tempfile-3)
+        ("rust-toml" ,rust-toml-0.5))
+       #:cargo-development-inputs
+       (("rust-serial-test" ,rust-serial-test-0.5))))
+    (native-inputs
+     (list python-cython))))
+
 (define-public rust-cbindgen-0.24
   (package
     (inherit rust-cbindgen)



reply via email to

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