From patchwork Wed Dec 20 03:54:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 57898 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 8E14727BBEA; Wed, 20 Dec 2023 04:09: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=ham 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 01BEF27BBE2 for ; Wed, 20 Dec 2023 04:09:35 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFntE-00031T-Gv; Tue, 19 Dec 2023 23:09:00 -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 1rFntD-00030m-Dx for guix-patches@gnu.org; Tue, 19 Dec 2023 23:08:59 -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 1rFntD-0006b5-6I for guix-patches@gnu.org; Tue, 19 Dec 2023 23:08:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rFntG-0004nS-3d; Tue, 19 Dec 2023 23:09:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67919] [PATCH 32/55] gnu: Add rust-zerocopy-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:09:02 +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.170304530618345 (code B ref 67919); Wed, 20 Dec 2023 04:09:02 +0000 Received: (at 67919) by debbugs.gnu.org; 20 Dec 2023 04:08:26 +0000 Received: from localhost ([127.0.0.1]:38286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFnsg-0004lp-5Z for submit@debbugs.gnu.org; Tue, 19 Dec 2023 23:08:26 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:42682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFnse-0004lZ-Mi for 67919@debbugs.gnu.org; Tue, 19 Dec 2023 23:08:25 -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 1rFnsW-00FIal-1P for 67919@debbugs.gnu.org; Wed, 20 Dec 2023 05:08:16 +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=biN7K/qI2I1MMugbM7tqkhELxdqarFKCUlse2vyy+Es=; b=Ar06JEaqB9PwRy8hng+ZwsTBHl sGnpyJBe3l0aaArvtjjHO1SNHHYc5T4YzbolJt0Bj/XMCdeD8I5NesELPotdd7hj4JXgqVugDWpy0 3df4TeM3IwjqZBYkCkpRq7dPPRdmHXFwXIfWhLrvbxvMKHLFGfWWyq4IHjxHyzRvKDx6z9I4sieTb d/8hfuOBAldD9bEfPel7FaJ3NTGdMWuwwybv6MXhrTjr99z68vZMVG9PGtwwqehAk4Kry2mBo/2T+ 41QXeO4kPcrldzx1f+30i9oFZfSovFh3/AzQJGXBmmf26AI3iGyMSykFdJ5tqLjh7a5F5vP3mXKrO dCWkJIGA==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rFnsV-0004Di-PY for 67919@debbugs.gnu.org; Wed, 20 Dec 2023 05:08:15 +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 1rFnsU-0066Gp-IU; Wed, 20 Dec 2023 05:08:14 +0100 Date: Tue, 19 Dec 2023 22:54:54 -0500 Message-ID: <4d395d094b2ffdf897a2257b05c7daba4e5dcb96.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-0.7): New variable. Change-Id: I80875ca4683c18d666b598793361b098e39c01e3 --- gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++------ 1 file changed, 33 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index eb37bbcda9..e55ef06ce5 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -91481,8 +91481,40 @@ (define-public rust-zbus-polkit-1 (description "@code{PolicyKit} binding.") (license license:expat))) +(define-public rust-zerocopy-0.7 + (package + (name "rust-zerocopy") + (version "0.7.31") + (source + (origin + (method url-fetch) + (uri (crate-uri "zerocopy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gcfyrmlrhmsz16qxjp2qzr6vixyaw1p04zl28f08lxkvfz62h0w")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.7)) + #:cargo-development-inputs + (("rust-assert-matches" ,rust-assert-matches-1) + ("rust-elain" ,rust-elain-0.3) + ("rust-itertools" ,rust-itertools-0.11) + ("rust-rand" ,rust-rand-0.8) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-static-assertions" ,rust-static-assertions-1) + ("rust-trybuild" ,rust-trybuild-1) + ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.7)))) + (home-page "https://github.com/google/zerocopy") + (synopsis "Utilities for zero-copy parsing and serialization") + (description "Utilities for zero-copy parsing and serialization") + (license (list license:bsd-2 license:asl2.0 license:expat)))) + (define-public rust-zerocopy-0.6 (package + (inherit rust-zerocopy-0.7) (name "rust-zerocopy") (version "0.6.1") (source (origin @@ -91492,16 +91524,11 @@ (define-public rust-zerocopy-0.6 (sha256 (base32 "0dpj4nd9v56wy93ahjkp95znjzj91waqvidqch8gxwdwq661hbrk")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) - ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.3)))) - (home-page "https://github.com/google/zerocopy") - (synopsis "Utilities for zero-copy parsing and serialization") - (description "Utilities for zero-copy parsing and serialization") - (license license:bsd-2))) + ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.3)))))) (define-public rust-zerocopy-0.3 (package