GNU bug report logs - #78150
[PATCH] gnu: Add rust-cbindgen-0.28.

Previous Next

Package: guix-patches;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 78150 in the body.
You can then email your comments to 78150 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to divya <at> subvertising.org, efraim <at> flashner.co.il, hako <at> ultrarare.space, steve <at> futurile.net, guix-patches <at> gnu.org:
bug#78150; Package guix-patches. (Tue, 29 Apr 2025 20:14:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tomas Volf <~@wolfsden.cz>:
New bug report received and forwarded. Copy sent to divya <at> subvertising.org, efraim <at> flashner.co.il, hako <at> ultrarare.space, steve <at> futurile.net, guix-patches <at> gnu.org. (Tue, 29 Apr 2025 20:14:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tomas Volf <~@wolfsden.cz>
To: guix-patches <at> gnu.org
Cc: Tomas Volf <~@wolfsden.cz>
Subject: [PATCH] gnu: Add rust-cbindgen-0.28.
Date: Tue, 29 Apr 2025 22:12:53 +0200
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#78150; Package guix-patches. (Wed, 30 Apr 2025 10:54:02 GMT) Full text and rfc822 format available.

Message #8 received at 78150 <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: Tomas Volf <~@wolfsden.cz>
Cc: 78150 <at> debbugs.gnu.org, Steve George <steve <at> futurile.net>,
 Efraim Flashner <efraim <at> flashner.co.il>,
 Divya Ranjan Pattanaik <divya <at> subvertising.org>
Subject: Re: [bug#78150] [PATCH] gnu: Add rust-cbindgen-0.28.
Date: Wed, 30 Apr 2025 18:52:59 +0800
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?




Reply sent to Hilton Chain <hako <at> ultrarare.space>:
You have taken responsibility. (Wed, 30 Apr 2025 15:36:04 GMT) Full text and rfc822 format available.

Notification sent to Tomas Volf <~@wolfsden.cz>:
bug acknowledged by developer. (Wed, 30 Apr 2025 15:36:04 GMT) Full text and rfc822 format available.

Message #13 received at 78150-close <at> debbugs.gnu.org (full text, mbox):

From: Hilton Chain <hako <at> ultrarare.space>
To: Tomas Volf <~@wolfsden.cz>
Cc: Steve George <steve <at> futurile.net>, Efraim Flashner <efraim <at> flashner.co.il>,
 Divya Ranjan Pattanaik <divya <at> subvertising.org>, 78150-close <at> debbugs.gnu.org
Subject: Re: [bug#78150] [PATCH] gnu: Add rust-cbindgen-0.28.
Date: Wed, 30 Apr 2025 23:34:04 +0800
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.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 29 May 2025 11:24:17 GMT) Full text and rfc822 format available.

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.