guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

227/330: gnu: Add rust-uutils-term-grid-0.6.


From: guix-commits
Subject: 227/330: gnu: Add rust-uutils-term-grid-0.6.
Date: Mon, 18 Mar 2024 07:16:21 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit d1ba5088ca7e664b394842479aa0250d6c6233bd
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Mar 17 14:31:53 2024 +0200

    gnu: Add rust-uutils-term-grid-0.6.
    
    * gnu/packages/crates-io.scm (rust-uutils-term-grid-0.6): New variable.
    (rust-uutils-term-grid-0.3): Inherit from rust-uutils-term-grid-0.6.
    
    Change-Id: I595e163e3b9813cb5564004a213acc2eb778f13c
---
 gnu/packages/crates-io.scm | 28 +++++++++++++++++++++-------
 1 file changed, 21 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e0455fcda7..1a9cb16e7f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80478,28 +80478,42 @@ first byte.")
     ;; The user can choose either license.
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-uutils-term-grid-0.3
+(define-public rust-uutils-term-grid-0.6
   (package
     (name "rust-uutils-term-grid")
-    (version "0.3.0")
+    (version "0.6.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "uutils_term_grid" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1ixvj893jrcvv76m7cgr99fc25la6xl2101qva6ni646aqm4b2dk"))))
+        (base32 "1ys1y4bjdgwhvd3c9b2c8hx2dmnxjsgqgg3sll1mgfmlmnsfz7gq"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs (("rust-unicode-width" ,rust-unicode-width-0.1))))
+     `(#:cargo-inputs (("rust-ansi-width" ,rust-ansi-width-0.1))))
     (home-page "https://github.com/uutils/uutils-term-grid";)
     (synopsis
      "Fork of the @code{term_grid} for formatting strings into a grid layout")
-    (description
-     "A fork of @code{term_grid}, this package provides a library for
-formatting strings into a grid layout.")
+    (description "A fork of @code{term_grid}, this package provides a library
+for formatting strings into a grid layout.")
     (license license:expat)))
 
+(define-public rust-uutils-term-grid-0.3
+  (package
+    (inherit rust-uutils-term-grid-0.6)
+    (name "rust-uutils-term-grid")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "uutils_term_grid" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ixvj893jrcvv76m7cgr99fc25la6xl2101qva6ni646aqm4b2dk"))))
+    (arguments
+     `(#:cargo-inputs (("rust-unicode-width" ,rust-unicode-width-0.1))))))
+
 (define-public rust-uzers-0.11
   (package
     (name "rust-uzers")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]