From patchwork Sat May 4 11:35:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64031 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 2F50427BBEA; Sat, 4 May 2024 12:39:06 +0100 (BST) 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=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 D36E027BBE2 for ; Sat, 4 May 2024 12:39:05 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3Dj2-0004Gt-NF; Sat, 04 May 2024 07:38:44 -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 1s3Dj0-0004A8-LW for guix-patches@gnu.org; Sat, 04 May 2024 07:38:42 -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 1s3Dj0-0006Z1-Ap for guix-patches@gnu.org; Sat, 04 May 2024 07:38:42 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3DjN-0004as-76; Sat, 04 May 2024 07:39:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH rust-team v3 47/75] gnu: Add rust-option-operations-0.5. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 04 May 2024 11:39:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69257@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.171482269917494 (code B ref 69257); Sat, 04 May 2024 11:39:05 +0000 Received: (at 69257) by debbugs.gnu.org; 4 May 2024 11:38:19 +0000 Received: from localhost ([127.0.0.1]:53077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Did-0004Y0-8n for submit@debbugs.gnu.org; Sat, 04 May 2024 07:38:19 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:56405 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3DiA-0004Lq-HV for 69257@debbugs.gnu.org; Sat, 04 May 2024 07:37:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714822639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=60IFxDis8okDDub/zuBqs63kndG3v6i30DeIBrmr5wM=; b=C7q5zumgGJ3gYBQli43wbgIF6C1l+gykGRc6D/lK7ezUctqK+wAlXcMNdRcdAvFUSuQZPb fUeVTGyYL45dNeRvHLbY5nPaIPw/w81Uk5UseWoV+EtYQwmTomtQOHeHKvnuP5QrxwmA/r 4Ycpm7+WUfgXc1dPDfvuAa11DJKLKzafhlP8JB5+sBDj5LSD3sjOWYN5XOHMGdlkfhLcWx jzKC2hInk5TvghiJBCU+9rQZgkoma6L6Fg+Ulc+3N/NQZ4e9lKZIj8WpYtXy2Y5QBo1JjQ QywjzZgvuO5o+uVxlaDBKLQ7OUUdj2RUD9rMfZYQK+JqhOhVkZ+s9knKlRoG6g== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id 8d8ee0ff (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <69257@debbugs.gnu.org>; Sat, 4 May 2024 11:37:19 +0000 (UTC) Date: Sat, 4 May 2024 13:35:19 +0200 Message-ID: <0ac2e457f0f499cf4b9092f7146ef960f14e339a.1714820130.git.herman@rimm.ee> 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: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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-option-operations-0.5): Add variable. --- gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 39486a2ec5..e2f64d7001 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -51091,8 +51091,31 @@ (define-public rust-option-ext-0.2 (description "Extends `Option` with additional operations") (license license:mpl2.0))) +(define-public rust-option-operations-0.5 + (package + (name "rust-option-operations") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "option-operations" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1l13n9487gk6063zzjdwzqbig78n8mh6dxsbiq9nbaxfn5xx49kw")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-paste" ,rust-paste-1)))) + (home-page "https://github.com/fengalin/option-operations") + (synopsis + "Improve arithmetic operations usability when dealing with Options") + (description + "This package provides traits and auto-implementations to improve +arithmetic operations usability when dealing with Rust Options.") + (license (list license:expat license:asl2.0)))) + (define-public rust-option-operations-0.4 (package + (inherit rust-option-operations-0.5) (name "rust-option-operations") (version "0.4.1") (source (origin @@ -51101,16 +51124,7 @@ (define-public rust-option-operations-0.4 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "18jhy5sc56gwdvqc3asr6az685zc9zkgv8p8n69s94bcj6bibc22")))) - (build-system cargo-build-system) - (arguments - (list #:cargo-inputs `(("rust-paste" ,rust-paste-1)))) - (home-page "https://github.com/fengalin/option-operations") - (synopsis "Improved arithmetic operations when dealing with Rust Options") - (description - "Traits and auto-implementations to improve arithmetic operations -usability when dealing with Rust Options.") - (license (list license:expat license:asl2.0)))) + "18jhy5sc56gwdvqc3asr6az685zc9zkgv8p8n69s94bcj6bibc22")))))) (define-public rust-option-set-0.2 (package