guix-patches
[Top][All Lists]
Advanced

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

[bug#70146] [PATCH 005/147] gnu: Add rust-anstyle-lossy-1.


From: Jean-Pierre De Jesus DIAZ
Subject: [bug#70146] [PATCH 005/147] gnu: Add rust-anstyle-lossy-1.
Date: Tue, 2 Apr 2024 18:03:17 +0200

* gnu/packages/crates-io.scm (rust-anstyle-lossy-1): New variable.

Change-Id: I830dc37adddc0661468cbbafbffad65e374cc728
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 38efcd255d..6bd35386b8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1675,6 +1675,27 @@ (define-public rust-anstyle-0.2
      `(#: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
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-anstyle" ,rust-anstyle-1))))
+    (home-page "https://github.com/rust-cli/anstyle";)
+    (synopsis "Lossy conversion between ANSI Color Codes")
+    (description "This package provides a library to convert colors to and
+from ANSI color codes using the closest color representation.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-anstyle-parse-0.2
   (package
     (name "rust-anstyle-parse")
-- 
2.41.0






reply via email to

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