From patchwork Tue Mar 19 03:50:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: normally_js X-Patchwork-Id: 61957 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 2230327BBEB; Tue, 19 Mar 2024 03:55:30 +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=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 95E1327BBE2 for ; Tue, 19 Mar 2024 03:55:29 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmQZT-0000u8-3z; Mon, 18 Mar 2024 23:55:27 -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 1rmQZR-0000sF-PI for guix-patches@gnu.org; Mon, 18 Mar 2024 23:55:25 -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 1rmQZR-0000H2-FU for guix-patches@gnu.org; Mon, 18 Mar 2024 23:55:25 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmQa3-0006De-To; Mon, 18 Mar 2024 23:56:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69890] [PATCH 09/43] gnu: Add rust-minus-5. Resent-From: normalmente Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 19 Mar 2024 03:56:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69890 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69890@debbugs.gnu.org Cc: normalmente , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69890-submit@debbugs.gnu.org id=B69890.171082052023653 (code B ref 69890); Tue, 19 Mar 2024 03:56:03 +0000 Received: (at 69890) by debbugs.gnu.org; 19 Mar 2024 03:55:20 +0000 Received: from localhost ([127.0.0.1]:35166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQZM-00069M-8Z for submit@debbugs.gnu.org; Mon, 18 Mar 2024 23:55:20 -0400 Received: from mout01.posteo.de ([185.67.36.65]:50411) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQXk-0005uV-IR for 69890@debbugs.gnu.org; Mon, 18 Mar 2024 23:53:41 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 700B5240027 for <69890@debbugs.gnu.org>; Tue, 19 Mar 2024 04:52:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710820376; bh=Wziwws5pchavmhhaCw/9qzBcRbPO7Cbi64H02h/Ct5A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=WvtSxC1HcWyKARg624/QNKLdLaQAsgzbXTaBjHqZtjvkk3J6jMQCCOisSPryFPdO/ t090vqaAlRcuhbpMsUbqAH9CfD4gZa/dlNPDBnoF4c9gOnfCCNqDpMrFE7kwuo97Q0 08eGnZYZGaHZYeZyORRgpiuLfAX8xHyZJgMXu0mZ85r2Tw1gc3TBvpKp/1PnFEJPWx 4ft1UG80MUEHpud/mlB1T5oumz96/YOP3IkIe5Lcjl4CT3RRitmDT87VrBIbak3fba 7UwFX7YalIB69Uh6mKRnuoPqmN6sTSNOWgNpBYspI6Y20ocVdvndzpxdlmziblFTH7 aQZkYtX8n/eug== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TzHqq5n52z6tm4; Tue, 19 Mar 2024 04:52:55 +0100 (CET) From: normalmente Date: Tue, 19 Mar 2024 03:50:40 +0000 Message-ID: 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-minus-5): New variable. Change-Id: Iedc2c79bafaa74ff74bc28b902e57ef0878784fd --- gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 993f50d862..f4e37b61fc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -38250,6 +38250,41 @@ (define-public rust-miniz-oxide-0.3 (arguments `(#:cargo-inputs (("rust-adler32" ,rust-adler32-1)))))) +(define-public rust-minus-5 + (package + (name "rust-minus") + (version "5.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "minus" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "19cwjr8ikqpngxj6c4xbbvylkjkp19cs4k2dnnav5ngzz4nywv6p")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" ; unresolved imports + "--skip=src/lib.rs - (line 174)" + "--skip=src/lib.rs - (line 200)" + "--skip=src/lib.rs - (line 233)") + #:cargo-inputs + (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5) + ("rust-crossterm" ,rust-crossterm-0.27) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12) + ("rust-regex" ,rust-regex-1) + ("rust-textwrap" ,rust-textwrap-0.16) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/arijit79/minus") + (synopsis "Asynchronous data feedable terminal paging library for Rust") + (description + "This package provides a asynchronous data feedable terminal paging +library for Rust.") + (license (list license:expat license:asl2.0)))) + (define-public rust-mint-0.5 (package (name "rust-mint")