guix-commits
[Top][All Lists]
Advanced

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

246/472: gnu: Add rust-anstyle-parse-0.2.


From: guix-commits
Subject: 246/472: gnu: Add rust-anstyle-parse-0.2.
Date: Tue, 18 Jul 2023 14:09:00 -0400 (EDT)

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

commit c4ae535b080b649992e3026025deb3f6b23f07b3
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 e75cf82d5d..127f1b7c22 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]