From patchwork Sun Jun 19 17:27:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: antlers X-Patchwork-Id: 40182 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 B9A1627BBEA; Sun, 19 Jun 2022 18:37:21 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS 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 3A6F527BBE9 for ; Sun, 19 Jun 2022 18:37:21 +0100 (BST) Received: from localhost ([::1]:40718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2yrQ-000120-DU for patchwork@mira.cbaines.net; Sun, 19 Jun 2022 13:37:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2yr9-00011I-TW for guix-patches@gnu.org; Sun, 19 Jun 2022 13:37:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59215) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o2yr8-00067r-Kk for guix-patches@gnu.org; Sun, 19 Jun 2022 13:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o2yr8-0006ge-I9 for guix-patches@gnu.org; Sun, 19 Jun 2022 13:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56057] [bug #56057] [PATCH v2 19/21] gnu: Add rust-tui-0.17. Resent-From: antlers Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 19 Jun 2022 17:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56057@debbugs.gnu.org Cc: antlers Received: via spool by 56057-submit@debbugs.gnu.org id=B56057.165566018325646 (code B ref 56057); Sun, 19 Jun 2022 17:37:02 +0000 Received: (at 56057) by debbugs.gnu.org; 19 Jun 2022 17:36:23 +0000 Received: from localhost ([127.0.0.1]:53111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2yqV-0006fa-1D for submit@debbugs.gnu.org; Sun, 19 Jun 2022 13:36:23 -0400 Received: from mail-oi1-f174.google.com ([209.85.167.174]:43756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o2yqT-0006fC-TP for 56057@debbugs.gnu.org; Sun, 19 Jun 2022 13:36:22 -0400 Received: by mail-oi1-f174.google.com with SMTP id q11so11173813oih.10 for <56057@debbugs.gnu.org>; Sun, 19 Jun 2022 10:36:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=d3cjOA+y+ukW6HmBylQfJQB9eLZCdNUh4lOX1pNNXdA=; b=fKxR/c5yFd7DdAom71/cdhyCgOvkubXJfwjT5/rDNuZJmtE6TgngQnj/CHVbObvQ7z yQPuXqhBhNk3jkdtxGXpQcVcn/2imoxqlkZYQTZHuS87sDJ/W++IJ/PKNtHaAz5RaZNf 2OoUbR3cZtMRe0xqEzMZOTOxtJpzJB53Voyg4gIAAYtYswHT0KjKNPiaDJ/rIY098HJt RyD2+NrjeAurI5WteopJVUK0ZrpBHE/S+57Lv8mdQFAoG7+Z5R9JZkx5I6ZYVfhhO8lA Fc18QJoluO1xtuX1m0kwfJvK8Q2hY07uoi/Lo/q2Ab/MtCAvbIRVIVcwrmpFgNcmDz95 xJ7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=d3cjOA+y+ukW6HmBylQfJQB9eLZCdNUh4lOX1pNNXdA=; b=erTzOcPAyZeIkKL5tFCYMHW04W4jVsJ46evmieYOOwG3C6smLwR5Q78emgoKmj7TLo z1cratYcAguaX7RiiHVFoQbPYcJd0EZTpD9mwJ4JVEwwT/NpdFBfKSmj/+LlwuqUgn6S rjIu8Ts7hu8Q58Bl3jBiIyw8gwboZhWvccH54OgxHAQR97KB+WsXOGswYE0fG52S1f5p aweqxTW9Vw+RoCqkMPrC/Kq3OEBlIlrfOr2AclMYlduZTnsRRW+i523I4MB508KIzK6K mvUfmjm2R0stycvkS5Jl1a8DbLNc0bDIk7RV74lp8Lrb/NVPRIF4bv9t3lOzYkncRSgW NQCw== X-Gm-Message-State: AOAM5322UiVXutB4XjHxaFNyB9PNJjdr6nuFP1h8NwejPJYfrr2vnucK xdexp/YAcAAD4avvoPAjA6wDijF6gP8= X-Google-Smtp-Source: AGRyM1s5GMIwcEh0deK68qAE7ESmJLhzjX17+M03Ho3Yl6dFWQCThVmyE9XM7WvYsq3t1mpTfDmHBw== X-Received: by 2002:a17:90a:df91:b0:1e3:4dc8:46e7 with SMTP id p17-20020a17090adf9100b001e34dc846e7mr33159834pjv.106.1655659678938; Sun, 19 Jun 2022 10:27:58 -0700 (PDT) Received: from tower.hitronhub.home (24-113-171-200.wavecable.com. [24.113.171.200]) by smtp.gmail.com with ESMTPSA id o68-20020a62cd47000000b005251e2b53acsm1204051pfg.116.2022.06.19.10.27.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jun 2022 10:27:58 -0700 (PDT) From: antlers X-Google-Original-From: antlers Date: Sun, 19 Jun 2022 10:27:09 -0700 Message-Id: <20220619172711.3413-20-antlers@luris.net> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220619172711.3413-1-antlers@luris.net> References: <79b17d35358df25550bf846d732a57044c8436dd.camel@telenet.be> <20220619172711.3413-1-antlers@luris.net> 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-tui-0.17): New variable. (rust-tui-0.16): Inherit from rust-tui-0.17. --- :100644 100644 a333f6c6ce 0410e42dfd M gnu/packages/crates-io.scm gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++-------- 1 file changed, 36 insertions(+), 9 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a333f6c6ce..0410e42dfd 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14986,7 +14986,7 @@ (define-public rust-crosstermion-0.9 ("rust-futures-core" ,rust-futures-core-0.3) ("rust-futures-lite" ,rust-futures-lite-1) ("rust-termion" ,rust-termion-1) - ("rust-tui" ,rust-tui-0.18) + ("rust-tui" ,rust-tui-0.17) ("rust-tui-react" ,rust-tui-react-0.17)))) (home-page "https://github.com/Byron/tui-crates") (synopsis @@ -67556,8 +67556,42 @@ (define-public rust-ttf-parser-0.6 (base32 "1p4z969pwd5adayy3ijq94iiak42yfxz8hk5wnkdsirymgbpqp9y")))) (arguments `(#:skip-build? #t)))) +(define-public rust-tui-0.17 + (package + (name "rust-tui") + (version "0.17.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "tui" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0w92l3ilsz4lzmsp6illpsvabgsl0nysridny5rrn0wbr0r0mv93")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-cassowary" ,rust-cassowary-0.3) + ("rust-crossterm" ,rust-crossterm-0.22) + ("rust-serde" ,rust-serde-1) + ("rust-termion" ,rust-termion-1) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs + (("rust-argh" ,rust-argh-0.1) + ("rust-rand" ,rust-rand-0.8)))) + (home-page "https://github.com/fdehau/tui-rs") + (synopsis "Library to build rich terminal user interfaces or dashboards") + (description + "This package provides a library to build rich terminal user interfaces +or dashboards.") + (license license:expat))) + (define-public rust-tui-0.16 (package + (inherit rust-tui-0.17) (name "rust-tui") (version "0.16.0") (source @@ -67567,7 +67601,6 @@ (define-public rust-tui-0.16 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "08qcdjmi8sn2xyh38ilr17i9bn89ic2aaqx3rybyv7h44x7cxj1r")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs @@ -67583,13 +67616,7 @@ (define-public rust-tui-0.16 ("rust-unicode-width" ,rust-unicode-width-0.1)) #:cargo-development-inputs (("rust-argh" ,rust-argh-0.1) - ("rust-rand" ,rust-rand-0.8)))) - (home-page "https://github.com/fdehau/tui-rs") - (synopsis "Library to build rich terminal user interfaces or dashboards") - (description - "This package provides a library to build rich terminal user interfaces -or dashboards.") - (license license:expat))) + ("rust-rand" ,rust-rand-0.8)))))) (define-public rust-tui-0.15 (package