unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Troy Figiel <troy@troyfigiel.com>
To: 68780@debbugs.gnu.org
Subject: [bug#68780] [PATCH 05/19] gnu: Add rust-comfy-table-7.
Date: Sat, 27 Jan 2024 16:53:47 +0100	[thread overview]
Message-ID: <874jexhg7s.fsf@troyfigiel.com> (raw)
In-Reply-To: <87bk95hgik.fsf@troyfigiel.com>

* gnu/packages/crates-io.scm (rust-comfy-table-7): New variable.
(rust-comfy-table-4): Inherit from rust-comfy-table-7.
---
 gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++++--------
 1 file changed, 34 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 02cfe3c531..c8bcd5520c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11548,8 +11548,41 @@ (define-public rust-combine-regex-1-1
 and 1.0.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-comfy-table-7
+  (package
+    (name "rust-comfy-table")
+    (version "7.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "comfy-table" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "11i6sm6vznv9982hqpbrba43vfd7vv7zqzlywdc4qykvdhyh8r3w"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-console" ,rust-console-0.15)
+        ("rust-crossterm" ,rust-crossterm-0.27)
+        ("rust-strum" ,rust-strum-0.25)
+        ("rust-strum-macros" ,rust-strum-macros-0.25)
+        ("rust-unicode-width" ,rust-unicode-width-0.1))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.5)
+        ("rust-pretty-assertions" ,rust-pretty-assertions-1)
+        ("rust-proptest" ,rust-proptest-1)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-rstest" ,rust-rstest-0.18))))
+    (home-page "https://github.com/nukesor/comfy-table")
+    (synopsis "Library for building tables with automatic content wrapping")
+    (description
+     "Comfy-tables is an utility for building tables with automatic content
+wrapping.")
+    (license license:expat)))
+
 (define-public rust-comfy-table-4
   (package
+    (inherit rust-comfy-table-7)
     (name "rust-comfy-table")
     (version "4.1.1")
     (source
@@ -11559,20 +11592,13 @@ (define-public rust-comfy-table-4
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1wzk894p2s725cpdip5968ydb50zczsl34040j6zs8klhqz5ms8i"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-crossterm" ,rust-crossterm-0.20)
         ("rust-strum" ,rust-strum-0.21)
         ("rust-strum-macros" ,rust-strum-macros-0.21)
-        ("rust-unicode-width" ,rust-unicode-width-0.1))))
-    (home-page "https://github.com/nukesor/comfy-table")
-    (synopsis "Library for building tables with automatic content wrapping")
-    (description
-     "Comfy-tables is an utility for building tables with automatic content
-wrapping.")
-    (license license:expat)))
+        ("rust-unicode-width" ,rust-unicode-width-0.1))))))
 
 (define-public rust-comfy-table-1
   (package
-- 
2.42.0





  parent reply	other threads:[~2024-01-28 11:05 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-28 10:51 [bug#68780] [PATCH 00/19] gnu: Add rust-arrow-47 Troy Figiel
2024-01-26 19:43 ` [bug#68780] [PATCH 01/19] gnu: Add rust-flatbuffers-23 Troy Figiel
2024-01-26 19:54 ` [bug#68780] [PATCH 02/19] gnu: rust-flatbuffers-2: Don't skip the build Troy Figiel
2024-01-27 14:58 ` [bug#68780] [PATCH 06/19] gnu: Add rust-arrow-schema-47 Troy Figiel
2024-01-27 15:01 ` [bug#68780] [PATCH 07/19] gnu: Add rust-arrow-buffer-47 Troy Figiel
2024-01-27 15:05 ` [bug#68780] [PATCH 08/19] gnu: Add rust-arrow-data-47 Troy Figiel
2024-01-27 15:12 ` [bug#68780] [PATCH 03/19] gnu: Add rust-chrono-tz-build-0.2 Troy Figiel
2024-01-27 15:20 ` [bug#68780] [PATCH 04/19] gnu: Add rust-chrono-tz-0.8 Troy Figiel
2024-01-27 15:27 ` [bug#68780] [PATCH 09/19] gnu: Add rust-arrow-array-47 Troy Figiel
2024-01-27 15:39 ` [bug#68780] [PATCH 10/19] gnu: Add rust-arrow-select-47 Troy Figiel
2024-01-27 15:43 ` [bug#68780] [PATCH 11/19] gnu: Add rust-arrow-string-47 Troy Figiel
2024-01-27 15:49 ` [bug#68780] [PATCH 12/19] gnu: Add rust-arrow-ord-47 Troy Figiel
2024-01-27 15:53 ` Troy Figiel [this message]
2024-01-27 16:09 ` [bug#68780] [PATCH 13/19] gnu: Add rust-arrow-cast-47 Troy Figiel
2024-01-28  8:25 ` [bug#68780] [PATCH 14/19] gnu: Add rust-arrow-json-47 Troy Figiel
2024-01-28  8:38 ` [bug#68780] [PATCH 15/19] gnu: Add rust-arrow-csv-47 Troy Figiel
2024-01-28  8:45 ` [bug#68780] [PATCH 16/19] gnu: Add rust-arrow-row-47 Troy Figiel
2024-01-28  8:50 ` [bug#68780] [PATCH 17/19] gnu: Add rust-arrow-ipc-47 Troy Figiel
2024-01-28  8:58 ` [bug#68780] [PATCH 18/19] gnu: Add rust-arrow-arith-47 Troy Figiel
2024-01-28  9:14 ` [bug#68780] [PATCH 19/19] gnu: Add rust-arrow-47 Troy Figiel
2024-02-11 13:47 ` bug#68780: [PATCH 00/19] " Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874jexhg7s.fsf@troyfigiel.com \
    --to=troy@troyfigiel.com \
    --cc=68780@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).