guix-commits
[Top][All Lists]
Advanced

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

247/379: gnu: Add rust-anstyle-1.


From: guix-commits
Subject: 247/379: gnu: Add rust-anstyle-1.
Date: Thu, 29 Jun 2023 12:34:42 -0400 (EDT)

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

commit badf2ee2951eb319d239625010ffdce2ea5ef741
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 22 16:37:32 2023 +0300

    gnu: Add rust-anstyle-1.
    
    * gnu/packages/crates-io.scm (rust-anstyle-1): New variable.
    (rust-anstyle-0.2): Inherit from rust-anstyle-1.
---
 gnu/packages/crates-io.scm | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 478f8d44d2..41033d9231 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3062,17 +3062,17 @@ it outputs messages to Android's logcat.")
 escape codes.")
     (license license:mpl2.0)))
 
-(define-public rust-anstyle-0.2
+(define-public rust-anstyle-1
   (package
     (name "rust-anstyle")
-    (version "0.2.8")
+    (version "1.0.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "anstyle" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "10kdjcyks9hcvmhk44afagnrxi4pczg6jnldjdadzbi4kyi2wqah"))))
+                "0zbazbfqs4mfw93573f61iy8c78vbbv824m3w206bbljpy39mva1"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-development-inputs
@@ -3082,6 +3082,22 @@ escape codes.")
     (description "This package provides ANSI text styling.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-anstyle-0.2
+  (package
+    (inherit rust-anstyle-1)
+    (name "rust-anstyle")
+    (version "0.2.8")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "anstyle" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "10kdjcyks9hcvmhk44afagnrxi4pczg6jnldjdadzbi4kyi2wqah"))))
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-lexopt" ,rust-lexopt-0.3))))))
+
 (define-public rust-anstyle-parse-0.2
   (package
     (name "rust-anstyle-parse")



reply via email to

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