From patchwork Mon Jan 8 01:52:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilko Meyer X-Patchwork-Id: 58588 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 EAAA927BBE2; Mon, 8 Jan 2024 02:04:05 +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 86D0027BBE9 for ; Mon, 8 Jan 2024 02:04:04 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMezf-0006Ci-Ib; Sun, 07 Jan 2024 21:03:59 -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 1rMeze-0006CQ-Ns for guix-patches@gnu.org; Sun, 07 Jan 2024 21:03:58 -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 1rMeze-0001J0-FP for guix-patches@gnu.org; Sun, 07 Jan 2024 21:03:58 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMezk-0003KM-9e for guix-patches@gnu.org; Sun, 07 Jan 2024 21:04:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68312] [PATCH 065/156] gnu: Add rust-indicatif-0.17. Resent-From: Wilko Meyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 02:04:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68312 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68312@debbugs.gnu.org Cc: Wilko Meyer Received: via spool by 68312-submit@debbugs.gnu.org id=B68312.170467942912475 (code B ref 68312); Mon, 08 Jan 2024 02:04:04 +0000 Received: (at 68312) by debbugs.gnu.org; 8 Jan 2024 02:03:49 +0000 Received: from localhost ([127.0.0.1]:34640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMezU-0003F9-IX for submit@debbugs.gnu.org; Sun, 07 Jan 2024 21:03:48 -0500 Received: from mail.wmeyer.eu ([95.216.196.112]:34222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMezP-0003E5-CH for 68312@debbugs.gnu.org; Sun, 07 Jan 2024 21:03:44 -0500 From: Wilko Meyer DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wmeyer.eu; s=mail; t=1704678890; bh=LiZry6a963sLU9nsepKo37MOAR8ubgpGrV5OoOq/4BI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=fE6LpJ8+UPpLfROkWJS3JRj/DdqV2/z0iQftWSiTWrGBBg9rQo5lIYvMgWmPZxXbG hcieY7KEJEh43Cczcp5uzPWBQQdN2upO4g1YkLUIFK5AORlvPXmTQAachVEnJBYKOk B3wdLGFvMcD2FhBGlMZxpqRJf0cIGvwdt5+SIeF0= Date: Mon, 8 Jan 2024 02:52:42 +0100 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-indicatif-0.17): New variable. (rust-indicatif-0.16): Inherit from rust-indicatif-0.17. Change-Id: Ie317b977d3a3c103ba8e3695d15a81ff6b8e2601 --- gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 8 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index efad46c1d03..cec6eb810b6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -33740,8 +33740,40 @@ (define-public rust-indextree-4 of reference counted pointers.") (license license:expat))) +(define-public rust-indicatif-0.17 + (package + (name "rust-indicatif") + (version "0.17.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "indicatif" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "098ggvg7ps4097p5n9hmb3pqqy10bi8vjfzb7pci79xrklf78a7v")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-console" ,rust-console-0.15) + ("rust-futures-core" ,rust-futures-core-0.3) + ("rust-instant" ,rust-instant-0.1) + ("rust-number-prefix" ,rust-number-prefix-0.4) + ("rust-portable-atomic" ,rust-portable-atomic-1) + ("rust-rayon" ,rust-rayon-1) + ("rust-tokio" ,rust-tokio-1) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1) + ("rust-vt100" ,rust-vt100-0.15)))) + (home-page "https://github.com/console-rs/indicatif") + (synopsis "Progress bar and cli reporting library for Rust") + (description + "This package provides a progress bar and cli reporting library for +Rust.") + (license license:expat))) + (define-public rust-indicatif-0.16 (package + (inherit rust-indicatif-0.17) (name "rust-indicatif") (version "0.16.2") (source (origin @@ -33751,7 +33783,6 @@ (define-public rust-indicatif-0.16 (sha256 (base32 "06xyjs0kzqiqkjn60n1miwm2l87sa9p2lmzz0ymq18y72z37s81d")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-console" ,rust-console-0.15) @@ -33763,13 +33794,7 @@ (define-public rust-indicatif-0.16 ("rust-unicode-width" ,rust-unicode-width-0.1)) #:cargo-development-inputs (("rust-rand" ,rust-rand-0.8) - ("rust-tokio" ,rust-tokio-1)))) - (home-page "https://github.com/console-rs/indicatif") - (synopsis "Progress bar and cli reporting library for Rust") - (description - "This package provides a progress bar and cli reporting library for -Rust.") - (license license:expat))) + ("rust-tokio" ,rust-tokio-1)))))) (define-public rust-indicatif-0.15 (package