From patchwork Mon Oct 23 22:21:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve George X-Patchwork-Id: 55187 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 C0B7927BBEA; Mon, 23 Oct 2023 23:25:58 +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.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS 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 7757C27BBE2 for ; Mon, 23 Oct 2023 23:25:58 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qv3Mj-0003d4-Px; Mon, 23 Oct 2023 18:25:41 -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 1qv3Me-0003Ui-4C for guix-patches@gnu.org; Mon, 23 Oct 2023 18:25:36 -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 1qv3Md-0004u8-SO for guix-patches@gnu.org; Mon, 23 Oct 2023 18:25:35 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qv3N7-0000x9-29; Mon, 23 Oct 2023 18:26:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66717] [PATCH 26/64] gnu: Add rust-muldiv-1. Resent-From: Steve George Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Mon, 23 Oct 2023 22:26:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66717 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66717@debbugs.gnu.org Cc: Steve George , efraim@flashner.co.il X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by 66717-submit@debbugs.gnu.org id=B66717.16980999263334 (code B ref 66717); Mon, 23 Oct 2023 22:26:05 +0000 Received: (at 66717) by debbugs.gnu.org; 23 Oct 2023 22:25:26 +0000 Received: from localhost ([127.0.0.1]:52282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qv3MT-0000ra-Os for submit@debbugs.gnu.org; Mon, 23 Oct 2023 18:25:26 -0400 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:55946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qv3MF-0000oM-V8 for 66717@debbugs.gnu.org; Mon, 23 Oct 2023 18:25:12 -0400 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1qv3Lh-00F9ZW-2L for 66717@debbugs.gnu.org; Tue, 24 Oct 2023 00:24:37 +0200 Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qv3Lg-0000R2-PG for 66717@debbugs.gnu.org; Tue, 24 Oct 2023 00:24:36 +0200 Received: by submission01.runbox with esmtpsa [Authenticated ID (641962)] (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93) id 1qv3LM-003wQQ-0O; Tue, 24 Oct 2023 00:24:16 +0200 From: Steve George Date: Mon, 23 Oct 2023 23:21:11 +0100 Message-ID: <200bd6bc17dfa78fb4ab31c623e2c0faba5bea96.1698099450.git.steve@futurile.net> 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-muldiv-1): New variable. --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 9cf11d32cb..483b9eea96 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -41865,6 +41865,27 @@ (define-public rust-mp4-0.9 (description "mp4 is a Rust library to read and write ISO-MP4 files.") (license license:expat))) +(define-public rust-muldiv-1 + (package + (name "rust-muldiv") + (version "1.0.1") + (source (origin + (method url-fetch) + (uri (crate-uri "muldiv" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1c6ljsp41n8ijsx7zicwfm135drgyhcms12668ivvsbm1r98frwm")))) + (build-system cargo-build-system) + (arguments + (list #:cargo-inputs `(("rust-quickcheck" ,rust-quickcheck-1)))) + (home-page "https://github.com/sdroege/rust-muldiv") + (synopsis "Trait for numeric types to combine multiplication and division") + (description + "This package provides a trait for numeric types to perform combined +multiplication and division with overflow protection.") + (license license:expat))) + (define-public rust-multimap-0.8 (package (name "rust-multimap")