From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id AA3bK4mzyGWCRgEAe85BDQ:P1 (envelope-from ) for ; Sun, 11 Feb 2024 12:46:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id AA3bK4mzyGWCRgEAe85BDQ (envelope-from ) for ; Sun, 11 Feb 2024 12:46:17 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707651977; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: 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; bh=iU915gL92XIWfV3q21qIHqcxEb+Lp8cCxC10cmnaeno=; b=uBCL4P1PIK9LXFr3TjpDl7q1c1QyIyXLCchLnCgimHZnQPRlLIdbX6v4JFDWKJTqQWRmSK BhmyLGGW52/tuQnY9neXOd7PCXdAbZ6Hg4IBSGbS4feSydXlTI5BHHKCUN+A0loeJO18Za InE01hi7mmrk9Wed+ytT2l9ab0B4ixC+PxtdE3/rciOQTAlnx0yy39IrFL3Eie/VJZi7/1 g2ZLCXjuz4DzS7C6lUmRnOj960wEKCuJ2IeVfqMz+JR+6WX1lZRhUEcNxgGuLclDatgpYZ RFpsCRvtY7bA4Q29aNjrdZ6hBvxATguVld33mb0A4zu21FdAVYOHYw0nV6/8hw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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=1707651977; a=rsa-sha256; cv=none; b=B+G+E+zDOPK7tggBumltimYYx/hTDKYbYZ6BeXvKtiw0RCDhlin3YKu+NrnwD6HZdb6BP8 qwyQMqKEkJLGHwNyaFkkGH61xSSjGiTHIUjJ4VsQUCZmo1ckqp8Kavh1drmF1yLACgPr2L fI6dGABvxbw+bIdQxwyjHd/OV9bMJ5umnZHKmLagr39lywvS1q4LPOkYxrJ4mXNoc88qKL 9eXnfHh7Opx0ZrJdpB4O1hqXCQgNQMCTNrqBsQR9M0nkpXJhw6P3WcZ+BVlvYWaeWEsWqd F77AVJucuccJ1gOZV1sIn4UfaFkGDMIgq0hiIDW5nZ2ah0HuhAAtFsFijBhE9g== 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 981EC1253E for ; Sun, 11 Feb 2024 12:46:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZ8HQ-00060U-07; Sun, 11 Feb 2024 06:45:52 -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 1rZ8HN-0005yQ-IY for guix-patches@gnu.org; Sun, 11 Feb 2024 06:45:49 -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 1rZ8HN-0006RG-9V for guix-patches@gnu.org; Sun, 11 Feb 2024 06:45:49 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZ8Hd-0008FI-CM for guix-patches@gnu.org; Sun, 11 Feb 2024 06:46:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69048] [PATCH 22/32] gnu: Add rust-zerocopy-0.7. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Feb 2024 11:46:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69048 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69048@debbugs.gnu.org Received: via spool by 69048-submit@debbugs.gnu.org id=B69048.170765192431447 (code B ref 69048); Sun, 11 Feb 2024 11:46:05 +0000 Received: (at 69048) by debbugs.gnu.org; 11 Feb 2024 11:45:24 +0000 Received: from localhost ([127.0.0.1]:41791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZ8Gt-0008Ax-5w for submit@debbugs.gnu.org; Sun, 11 Feb 2024 06:45:24 -0500 Received: from mail04.noris.net ([62.128.1.224]:34445) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZ8Go-0008AZ-3L for 69048@debbugs.gnu.org; Sun, 11 Feb 2024 06:45:14 -0500 Received: from mail01.noris.net ([62.128.1.221]) by mail04.noris.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1rZ8GH-000FWp-2H for 69048@debbugs.gnu.org; Sun, 11 Feb 2024 12:44:41 +0100 Received: from p57b08159.dip0.t-ipconnect.de ([87.176.129.89] helo=hermia.goebel-consult.de) by mail01.noris.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1rZ8GG-0008M8-VB for 69048@debbugs.gnu.org; Sun, 11 Feb 2024 12:44:40 +0100 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id BAFF85F56C; Sun, 11 Feb 2024 12:43:56 +0100 (CET) From: Hartmut Goebel Date: Sun, 11 Feb 2024 12:43:31 +0100 Message-ID: <6b3a7e1dd6ed6c0e71702d814c52a22cf76dfc3b.1707650794.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <60825c66932829f895e6426b36d6d290a081ffa5.1707650792.git.h.goebel@crazy-compilers.com> References: <60825c66932829f895e6426b36d6d290a081ffa5.1707650792.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Noris-IP: 87.176.129.89 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: , 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-Spam-Score: -5.38 X-Spam-Score: -5.38 X-Migadu-Queue-Id: 981EC1253E X-Migadu-Scanner: mx12.migadu.com X-TUID: yzfWAguaVTY9 * gnu/packages/crates-io.scm (rust-zerocopy-0.7): New variable. (rust-zerocopy-0.6): Inherit from rust-zerocopy-0.7. --- 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 3100aae670..051195ff7a 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -91360,8 +91360,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.32") + (source + (origin + (method url-fetch) + (uri (crate-uri "zerocopy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1ghnfxw69kx5d1aqfd5fsfrra9dgpz17yqx84nd4ryjk3sbd7m3l")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #: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 license:bsd-2))) + (define-public rust-zerocopy-0.6 (package + (inherit rust-zerocopy-0.7) (name "rust-zerocopy") (version "0.6.1") (source (origin @@ -91371,16 +91403,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 -- 2.41.0