guix-commits
[Top][All Lists]
Advanced

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

214/330: gnu: Add rust-anstyle-lossy-1.


From: guix-commits
Subject: 214/330: gnu: Add rust-anstyle-lossy-1.
Date: Mon, 18 Mar 2024 07:16:16 -0400 (EDT)

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

commit bc71440a02aa1290e39c289fa044a98fff5d395a
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Sat Feb 24 21:39:55 2024 +0100

    gnu: Add rust-anstyle-lossy-1.
    
    * gnu/packages/crates-io.scm (rust-anstyle-lossy-1): New variable.
    
    Change-Id: Icdbb2273403aacc2f751315c138f4402d8b7af2f
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 27a51cec65..0fc4d4bb86 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1786,6 +1786,25 @@ text to a terminal.")
      `(#:cargo-development-inputs
        (("rust-lexopt" ,rust-lexopt-0.3))))))
 
+(define-public rust-anstyle-lossy-1
+  (package
+    (name "rust-anstyle-lossy")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "anstyle-lossy" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "10c1cg8vjb7mxwky2xc8j7zdp15i1qvpmd2w6nlsxm6vcx3l9859"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-anstyle" ,rust-anstyle-1))))
+    (home-page "https://github.com/rust-cli/anstyle";)
+    (synopsis "conversion between ANSI color codes")
+    (description "Lossy conversion between ANSI Color Codes.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-anstyle-parse-0.2
   (package
     (name "rust-anstyle-parse")



reply via email to

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