From patchwork Mon Dec 25 09:09:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Othacehe X-Patchwork-Id: 21099 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 EE39727BBE9; Mon, 25 Dec 2023 09:11:11 +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,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 2081627BBE2 for ; Mon, 25 Dec 2023 09:11:10 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHgzB-0003LY-Mz; Mon, 25 Dec 2023 04:10:57 -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 1rHgz9-0003Ku-QH for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:55 -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 1rHgz9-00018T-IL for guix-patches@gnu.org; Mon, 25 Dec 2023 04:10:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHgzF-0003iP-UM; Mon, 25 Dec 2023 04:11:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68023] [PATCH 03/13] gnu: Add rust-unsize-1. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 25 Dec 2023 09:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68023@debbugs.gnu.org Cc: me@bonfacemunyoki.com, Mathieu Othacehe , me@tobias.gr, lars@6xq.net, efraim@flashner.co.il, leo@famulari.name, vagrant@debian.org, jgart@dismail.de, marius@gnu.org, Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 68023-submit@debbugs.gnu.org id=B68023.170349540414083 (code B ref 68023); Mon, 25 Dec 2023 09:11:01 +0000 Received: (at 68023) by debbugs.gnu.org; 25 Dec 2023 09:10:04 +0000 Received: from localhost ([127.0.0.1]:53928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyJ-0003eu-Ar for submit@debbugs.gnu.org; Mon, 25 Dec 2023 04:10:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHgyC-0003dS-Ci for 68023@debbugs.gnu.org; Mon, 25 Dec 2023 04:09:56 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rHgy0-0000hX-Km; Mon, 25 Dec 2023 04:09:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=nSVAO21et1+JJQwc/deMezbBzGoHmm17Hzszt7zl8Qw=; b=dBdevhDP4il+rSz/IPV9 f6jCEIGlg8VzDS/ZF5V+EnrnDkK4mMgoBEpaZc42XYHMfpv5j8qbGtcFm5X4UfW+8/IeLX6ZLSr4b vTzfl8hyT0tnN5SdD8cV7/1b0p3IY0TmpdVlUjuxul8TUd8Pg7a/092xopjQpLjtcK+FyGo8bnvFy w1TWKVsDvFr2KrMDCtKF72VeCc6b3AkfndoSoyObnmUXRT44Bmeqbgx4ThkF3F3e8k5G3dZYVUo8f w77eur3BG9fQrGccXOD73QjkjtJfe6ghgxf4Y5HkpU6rpGQQO5+7Bxh6BXlELNbLtpvWvC7rbS3ya OhplNXP3ZJ6qnA==; From: Mathieu Othacehe Date: Mon, 25 Dec 2023 10:09:19 +0100 Message-ID: <91bf580066833dc22ad52c498bec17c762bf0966.1703494195.git.othacehe@gnu.org> 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: , 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-unsize-1): New variable. Signed-off-by: Mathieu Othacehe Change-Id: Iae3dcb97809622e79ae6dc74ed94723ff1da8e29 --- gnu/packages/crates-io.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 4af4e51a1a..b552fbb1c3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -85437,6 +85437,26 @@ (define-public rust-unsafe-unwrap-0.1 "This crate enables unchecked unwrapping on Option and Result types.") (license (list license:expat license:asl2.0)))) +(define-public rust-unsize-1 + (package + (name "rust-unsize") + (version "1.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "unsize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0fd9lzdhkahygxy9b348m0fs4wlldh5ymp1dcr56d9f16jksg9sg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-autocfg" ,rust-autocfg-1)))) + (home-page "https://github.com/HeroicKatora/static-alloc") + (synopsis "Stable alternative to CoerceUnsize") + (description + "This package provides a stable alternative to @code{CoerceUnsize}.") + (license (list license:expat license:asl2.0 license:zlib)))) + (define-public rust-untrusted-0.7 (package (name "rust-untrusted")