GNU bug report logs -
#40874
[PATCH 00/94] Add sequoia pgp, rust-nettle, and 90 rust package.
Previous Next
Full log
Message #65 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/crates-io.scm (rust-colored-1): New variable.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 07a9b02719..519e0452e8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2877,6 +2877,33 @@ CMAKE environmental variable is set.")
"Color quantization library to reduce n colors to 256 colors.")
(license license:expat)))
+(define-public rust-colored-1
+ (package
+ (name "rust-colored")
+ (version "1.9.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "colored" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0fildacm47g86acmx44yvxx6cka8fdym5qkgfm8x8gh2hsrghc7r"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ;; FIXM doesn't find rspec, which is 1.0.0-beta.4
+ #:cargo-inputs
+ (("rust-atty" ,rust-atty-0.2)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-ansi-term" ,rust-ansi-term-0.12)
+ ("rust-rspec" ,rust-rspec-1))))
+ (home-page "https://github.com/mackwic/colored")
+ (synopsis "Simple way to add colors in your terminal")
+ (description "The package provides a simple way to add colors in your
+terminal.")
+ (license license:mpl2.0)))
+
;; This package requires features which are unavailable
;; on the stable releases of Rust.
(define-public rust-compiler-builtins-0.1
--
2.21.3
This bug report was last modified 5 years and 18 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.