From patchwork Wed Dec 20 03:54:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 57894 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 988B027BBE9; Wed, 20 Dec 2023 04:08:35 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6F08727BBE2 for ; Wed, 20 Dec 2023 04:08:34 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFnsW-0002on-6E; Tue, 19 Dec 2023 23:08:16 -0500 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 1rFnsG-0002lz-G6 for guix-patches@gnu.org; Tue, 19 Dec 2023 23:08:00 -0500 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 1rFnsG-0006Ol-6x for guix-patches@gnu.org; Tue, 19 Dec 2023 23:08:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rFnsJ-0004kp-4G; Tue, 19 Dec 2023 23:08:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67919] [PATCH 29/55] gnu: Add rust-zerocopy-derive-0.7. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 20 Dec 2023 04:08:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67919 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67919@debbugs.gnu.org Cc: Jaeme Sifat , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 67919-submit@debbugs.gnu.org id=B67919.170304524618214 (code B ref 67919); Wed, 20 Dec 2023 04:08:03 +0000 Received: (at 67919) by debbugs.gnu.org; 20 Dec 2023 04:07:26 +0000 Received: from localhost ([127.0.0.1]:38272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFnri-0004ji-CT for submit@debbugs.gnu.org; Tue, 19 Dec 2023 23:07:26 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:41380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFnrg-0004jW-D4 for 67919@debbugs.gnu.org; Tue, 19 Dec 2023 23:07:24 -0500 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rFnrX-00FIWO-O7 for 67919@debbugs.gnu.org; Wed, 20 Dec 2023 05:07:15 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To :Message-ID:Date:Subject:Cc:To:From; bh=MdDwExN6qx/nPXX8yN8OyUEt5opYWOICkubzXKmXfqU=; b=oQ2EbKSvHiaWkS6RaHJL/noKIh JkCjTgMObZhgih0O0dVwGcq1zzoUIzSQJDl4ObDopFtfkTWjygYq1BbVQCC1jT61in84C3ZEia3nu gnWZwqoOJiQJ1SzENyxkiwFrfxG6umkKF76hlhy556GHAbwaWgpNzSxj/pO69Jf7IZ9afRQ4dNL8L yVcUn5oOWqvveaOVAc7buZ+O3xSD06Nug9z9OCRdDZtSQQDNt8H+nsxieEn3EYs57YUE/8DCQL/nt BWC3MwEer9q9nn60nnuT7FraOqGDPxkef/tHdNhq6TEOKNNrJo0XvQekOcQWcSegYcVGQIYF+CesL GSnBWxog==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rFnrW-0004Bo-Fs for 67919@debbugs.gnu.org; Wed, 20 Dec 2023 05:07:14 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rFnrN-0066Gp-Sn; Wed, 20 Dec 2023 05:07:06 +0100 Date: Tue, 19 Dec 2023 22:54:51 -0500 Message-ID: <94ed852146bcc5b0863a380323d6e7a8eff02d6f.1703044083.git.jaeme@runbox.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 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: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches X-Patchwork-Original-From: Jaeme Sifat via Guix-patches via From: Jaeme Sifat Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-zerocopy-derive-0.7): New variable. Change-Id: Ia744563998946c735f891ee8194331be9336da5c --- gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3b4c095ce1..6a4d44724a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -91522,8 +91522,37 @@ (define-public rust-zerocopy-0.3 ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.2)))) (license license:bsd-3))) +(define-public rust-zerocopy-derive-0.7 + (package + (name "rust-zerocopy-derive") + (version "0.7.31") + (source + (origin + (method url-fetch) + (uri (crate-uri "zerocopy-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "06k0zk4x4n9s1blgxmxqb1g81y8q334aayx61gyy6v9y1dajkhdk")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs + (("rust-static-assertions" ,rust-static-assertions-1) + ("rust-trybuild" ,rust-trybuild-1)))) + (home-page "https://github.com/google/zerocopy") + (synopsis "Custom derive for traits from the zerocopy Rust crate") + (description + "This package provides custom derive for traits from the zerocopy Rust +crate.") + (license license:bsd-2))) + (define-public rust-zerocopy-derive-0.3 (package + (inherit rust-zerocopy-derive-0.7) (name "rust-zerocopy-derive") (version "0.3.2") (source (origin @@ -91533,19 +91562,12 @@ (define-public rust-zerocopy-derive-0.3 (sha256 (base32 "18qr7dqlj89v1xl1g58l2xd6jidv0sbccscgl131gpppba0yc1b5")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-syn" ,rust-syn-1) - ("rust-synstructure" ,rust-synstructure-0.12)))) - (home-page "https://github.com/google/zerocopy") - (synopsis "Custom derive for traits from the zerocopy Rust crate") - (description - "This package provides custom derive for traits from the zerocopy Rust -crate.") - (license license:bsd-2))) + ("rust-synstructure" ,rust-synstructure-0.12)))))) (define-public rust-zerocopy-derive-0.2 (package