guix-commits
[Top][All Lists]
Advanced

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

250/371: gnu: Add rust-anstyle-parse-0.2.


From: guix-commits
Subject: 250/371: gnu: Add rust-anstyle-parse-0.2.
Date: Thu, 25 May 2023 10:48:31 -0400 (EDT)

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

commit d9657f6f5655a478570e60f69eeadd5b3fba9c68
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon May 22 16:36:18 2023 +0300

    gnu: Add rust-anstyle-parse-0.2.
    
    * gnu/packages/crates-io.scm (rust-anstyle-parse-0.2): New variable.
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0bebe6df6b..5f9fd2b358 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3082,6 +3082,34 @@ escape codes.")
     (description "This package provides ANSI text styling.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-anstyle-parse-0.2
+  (package
+    (name "rust-anstyle-parse")
+    (version "0.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "anstyle-parse" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1vjprf080adyxxpls9iwwny3g7irawfns9s2cj9ngq28dqhzsrg7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; Not all files included.
+       #:cargo-inputs
+       (("rust-arrayvec" ,rust-arrayvec-0.7)
+        ("rust-utf8parse" ,rust-utf8parse-0.2))
+       #:cargo-development-inputs
+       (("rust-codegenrs" ,rust-codegenrs-2)
+        ("rust-criterion" ,rust-criterion-0.4)
+        ("rust-proptest" ,rust-proptest-1)
+        ("rust-snapbox" ,rust-snapbox-0.4)
+        ("rust-vte-generate-state-changes" 
,rust-vte-generate-state-changes-0.1))))
+    (home-page "https://github.com/rust-cli/anstyle";)
+    (synopsis "Parse ANSI Style Escapes")
+    (description "Parse ANSI Style Escapes")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-anstyle-query-1
   (package
     (name "rust-anstyle-query")



reply via email to

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