GNU bug report logs -
#78150
[PATCH] gnu: Add rust-cbindgen-0.28.
Previous Next
Reported by: Tomas Volf <~@wolfsden.cz>
Date: Tue, 29 Apr 2025 20:14:03 UTC
Severity: normal
Tags: patch
Done: Hilton Chain <hako <at> ultrarare.space>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Wed, 30 Apr 2025 23:34:04 +0800
with message-id <87a57x1x5f.wl-hako <at> ultrarare.space>
and subject line Re: [bug#78150] [PATCH] gnu: Add rust-cbindgen-0.28.
has caused the debbugs.gnu.org bug report #78150,
regarding [PATCH] gnu: Add rust-cbindgen-0.28.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
78150: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78150
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* gnu/packages/rust-apps.scm (rust-cbindgen-0.28): New variable.
Change-Id: I22f4cf9d725ab026d8c469126db2d32755409a23
---
gnu/packages/rust-apps.scm | 36 +++++++++++++++++++++++++++++++++++-
1 file changed, 35 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 4d9430e5da..3e8e1886c9 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -29,7 +29,7 @@
;;; Copyright © 2023 Steve George <steve <at> futurile.net>
;;; Copyright © 2024 Troy Figiel <troy <at> troyfigiel.com>
;;; Copyright © 2024 Herman Rimm <herman <at> rimm.ee>
-;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz>
+;;; Copyright © 2024, 2025 Tomas Volf <~@wolfsden.cz>
;;; Copyright © 2024 Suhail Singh <suhail <at> bayesians.ca>
;;; Copyright © 2024 Jordan Moore <lockbox <at> struct.foo>
;;; Copyright © 2024 normally_js <normally_js <at> posteo.net>
@@ -3006,6 +3006,40 @@ (define-public procs
support, watch support (like @command{top}) and a tree view.")
(license license:expat)))
+(define-public rust-cbindgen-0.28
+ (package
+ (name "rust-cbindgen")
+ (version "0.28.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cbindgen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zyiaifg6mcd4wwhhbxk8adzhph6qz4wxzgagvg3ijp95j58dpga"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-clap" ,rust-clap-4)
+ ("rust-heck" ,rust-heck-0.4)
+ ("rust-indexmap" ,rust-indexmap-2)
+ ("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-2)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-toml" ,rust-toml-0.8))
+ #:cargo-development-inputs
+ (("rust-pretty-assertions" ,rust-pretty-assertions-1)
+ ("rust-serial-test" ,rust-serial-test-2))))
+ (native-inputs (list python-cython))
+ (home-page "https://github.com/eqrion/cbindgen")
+ (synopsis "Tool for generating C bindings to Rust code")
+ (description
+ "This package provides a tool for generating C/C++ bindings to Rust code.")
+ (license license:mpl2.0)))
+
(define-public rust-cbindgen-0.27
(package
(name "rust-cbindgen")
--
2.49.0
[Message part 3 (message/rfc822, inline)]
On Wed, 30 Apr 2025 18:52:59 +0800,
Hilton Chain wrote:
>
> On Wed, 30 Apr 2025 04:12:53 +0800,
> Tomas Volf wrote:
> >
> > * gnu/packages/rust-apps.scm (rust-cbindgen-0.28): New variable.
> >
> > Change-Id: I22f4cf9d725ab026d8c469126db2d32755409a23
> > ---
> > gnu/packages/rust-apps.scm | 36 +++++++++++++++++++++++++++++++++++-
> > 1 file changed, 35 insertions(+), 1 deletion(-)
>
> It's available on rust-team, do you need it on master?
I have cherry-picked the change from rust-team to master as
d3d961a9fa4933ebea48602cea063e1b1d43bd1b, closing.
This bug report was last modified 77 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.