guix-commits
[Top][All Lists]
Advanced

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

21/23: gnu: Add rust-colored-2.


From: guix-commits
Subject: 21/23: gnu: Add rust-colored-2.
Date: Tue, 13 Jul 2021 08:16:13 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit c2967eae4ee19f3c48825c613c98fe2d7e1383d8
Author: Domagoj Stolfa <domagoj.stolfa@gmail.com>
AuthorDate: Sun Jul 11 15:55:57 2021 +0100

    gnu: Add rust-colored-2.
    
    * gnu/packages/crates-io.scm (rust-colored-2): New variable.
    (rust-colored-1): Inherit from rust-colored-2.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2c4ac74..71b28aa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8624,10 +8624,10 @@ diagnostics easy and relatively painless for everyone!")
 colors.")
     (license license:expat)))
 
-(define-public rust-colored-1
+(define-public rust-colored-2
   (package
     (name "rust-colored")
-    (version "1.9.3")
+    (version "2.0.0")
     (source
       (origin
         (method url-fetch)
@@ -8636,7 +8636,7 @@ colors.")
          (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "0nbc1czs512h1k696y7glv1kjrb2b914zpxraic6q5fgv80wizzl"))))
+          "1gbcijscmznzy42rn213yp9ima7210zakgaqibgg1n441dsnyqdk"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f
@@ -8660,6 +8660,21 @@ colors.")
      "The most simple way to add colors in your terminal.")
     (license license:mpl2.0)))
 
+(define-public rust-colored-1
+  (package
+    (inherit rust-colored-2)
+    (name "rust-colored")
+    (version "1.9.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "colored" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0nbc1czs512h1k696y7glv1kjrb2b914zpxraic6q5fgv80wizzl"))))))
+
 (define-public rust-colored-1.9.1
   (package
     (inherit rust-colored-1)



reply via email to

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