From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EJnfK8SUOmWgHAAAauVa8A:P1 (envelope-from ) for ; Thu, 26 Oct 2023 18:33:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id EJnfK8SUOmWgHAAAauVa8A (envelope-from ) for ; Thu, 26 Oct 2023 18:33:08 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6B1A246F29 for ; Thu, 26 Oct 2023 18:33:08 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=QOAuvK5h; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698337988; a=rsa-sha256; cv=none; b=pwG8ONkBv6YR/FYx9HZr/EVNbHXkn4/sYog2ZyTva6JSpd4bpDlw8s4LwpUnpOtyF/kZNQ vHW7YTP7Fb0voAWfVj9WkA9GRKrFee1NbY9iAlkG54TwsIkSMEPvjcej5ScKhKgMfkrqxE GWB95G43EoYvMF2ilGxH5Yptfasc6378rzDwcb1cfq2Kk1DNSNM3twjZXFU5TyMWNU+1z/ 0C/Qq7wa+zbTTAcmJojSla2bQzyGI2ojGAMHkUuP+Zp0u0kBJ6/7Wtrg9Ng+Zqw+lVe09q okheYRzlh6pIpd67F0FJFOmFaoeK+FTfNwLbaqmTNfRhNwYj+7PMYGZjbG/JVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698337988; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ongEqC8Z01XY5OZKZ8Y9pDYFN20V2XYPan8Mv6t2qiY=; b=CWoxNo13Gm0povEzZaKiQhvxbdIszwcZqIe7eI2D0QYquZxtG+B6ztyqzLXNFJ2WttAo1p e/VauyeflGWBELkggNS7BjbnarFhl36OqGXPmdCmhSIFa3IVB0JzyI3wIUH8KSojoaHwW0 uEIlV+GCNLFg8UK/KyuAhxKkO6GpCXUjyxZpI4Iwv6ub5Eirn5wMAA+49eI9ZKUR91q889 zVV7Nv7QFtRttJfVGa/V3OXqz6LAjoMmQhShdaNL4C4mJ+aLzy3k92meGjZcRv7h+SXR3M Ox/P2TEJkZJAlQQl4/dv2JaCnxz0SJ5t0PHZwi6ywPELFuslmoqagwBAbDQRRA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=QOAuvK5h; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qw3Hi-0003hb-UY; Thu, 26 Oct 2023 12:32:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qw3Hb-0003ge-QX for guix-patches@gnu.org; Thu, 26 Oct 2023 12:32:34 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qw3Hb-00017p-Ff for guix-patches@gnu.org; Thu, 26 Oct 2023 12:32:31 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qw3I6-0004qY-A7 for guix-patches@gnu.org; Thu, 26 Oct 2023 12:33:02 -0400 Subject: bug#66729: [PATCH] gnu: Add rust-cbindgen-0.26. References: <3123036ee09665554505c0be483af632c1afc52c.1698158872.git.wolf@wolfsden.cz> In-Reply-To: <3123036ee09665554505c0be483af632c1afc52c.1698158872.git.wolf@wolfsden.cz> Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Thu, 26 Oct 2023 16:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 66729 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tomas Volf Cc: 66729-done@debbugs.gnu.org, Efraim Flashner Mail-Followup-To: 66729@debbugs.gnu.org, john.kehayias@protonmail.com, wolf@wolfsden.cz Received: via spool by 66729-done@debbugs.gnu.org id=D66729.169833792918536 (code D ref 66729); Thu, 26 Oct 2023 16:33:02 +0000 Received: (at 66729-done) by debbugs.gnu.org; 26 Oct 2023 16:32:09 +0000 Received: from localhost ([127.0.0.1]:34388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qw3HE-0004ou-Vq for submit@debbugs.gnu.org; Thu, 26 Oct 2023 12:32:09 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:57373) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qw3H9-0004oK-F1 for 66729-done@debbugs.gnu.org; Thu, 26 Oct 2023 12:32:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1698337885; x=1698597085; bh=ongEqC8Z01XY5OZKZ8Y9pDYFN20V2XYPan8Mv6t2qiY=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=QOAuvK5hXl14LwYOyfH0TTfGYNGHeHkZ4QWUCfVmDPNj03QYYRT/lYHnOqHipGtAq epXFiS3mIT9oY9LRM12zVPWl5PoAuZaz4HHgGAr+otu05gIqWcqxb9H4H50YtAUDym q++RFhvGaw0swA3Vf+JnSF9+k3CfbLzCY2czSvfG711I0SSa1tH7b9/xzKoq5c/md8 HjrZI9mflgWPqSzIheaB6NG6VJ8ghLb7ZEme17+TDTIrNAhDGwmBbsTr+Lun8vMk9/ q9sZkMFxTKvC0cbsX4cfF3369wMz27c+V49aCsLu2livioXoZc0KIn06JcMzjnoaj8 JsU5vuvN6dNgQ== Date: Thu, 26 Oct 2023 16:31:11 +0000 Message-ID: <87msw51h2u.fsf@protonmail.com> Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches From: John Kehayias via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -6.60 X-Migadu-Queue-Id: 6B1A246F29 X-Migadu-Spam-Score: -6.60 X-TUID: Ux0x50zQevm7 Hi Tomas, On Tue, Oct 24, 2023 at 04:47 PM, Tomas Volf wrote: > * gnu/packages/rust-apps.scm (rust-cbindgen-0.26): New variable. > (rust-cbindgen-0.24): Inherit from rust-cbindgen-0.26. > > Change-Id: Id17f8e251ceecc8ae0708dcfc19acfc5c56b824f > --- > The formating of the arguments and the native-inputs is a bit different t= han > before, but this is what guix style did produce. > I think I've seen both ways; this is fine to me. > gnu/packages/rust-apps.scm | 58 ++++++++++++++++++++++---------------- > 1 file changed, 34 insertions(+), 24 deletions(-) > > diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm > index 4a4247751b..a06447143a 100644 > --- a/gnu/packages/rust-apps.scm > +++ b/gnu/packages/rust-apps.scm > @@ -1370,35 +1370,45 @@ (define-public rust-cbindgen > "This package provides a tool for generating C/C++ bindings to Rust= code.") > (license license:mpl2.0))) > > -(define-public rust-cbindgen-0.24 > +(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-0.26) > + (name "rust-cbindgen") > (version "0.24.3") > (source (origin > - (method url-fetch) > - (uri (crate-uri "cbindgen" version)) > - (file-name (string-append name "-" version ".tar.gz")) > - (sha256 > - (base32 > - "1yqxqsz2d0cppd8zwihk2139g5gy38wqgl9snj6rnk8gyvnqsdd6")))= ) > - (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)))) > + (method url-fetch) > + (uri (crate-uri "cbindgen" version)) > + (file-name (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 > + "1yqxqsz2d0cppd8zwihk2139g5gy38wqgl9snj6rnk8gyvnqsdd6"))= )))) > > (define-public rust-cbindgen-0.23 > (package > > base-commit: bd34d5818842871e83aac12305263a821220d124 Thanks, applied as a69dec71493c1ecf06071d3304038f3648de69c4 after discussing with Efraim on #guix (there's 19003bf84aff99e6aa2eef60559d14772e= a2aab2 on rust-team but I opted for this one since it was all the same to Efraim). John