From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:47190) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSkRq-0007DL-GG for guix-patches@gnu.org; Sun, 26 Apr 2020 12:48:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSkRp-0000RV-Oc for guix-patches@gnu.org; Sun, 26 Apr 2020 12:48:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50861) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSkRp-0000RB-9h for guix-patches@gnu.org; Sun, 26 Apr 2020 12:48:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSkRp-0004ew-8Z for guix-patches@gnu.org; Sun, 26 Apr 2020 12:48:05 -0400 Subject: [bug#40874] [PATCH 19/94] gnu: Add rust-colored-1. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:46842) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSkRF-00066s-Oa for guix-patches@gnu.org; Sun, 26 Apr 2020 12:47:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSkRB-00006y-Fx for guix-patches@gnu.org; Sun, 26 Apr 2020 12:47:29 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:49953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jSkRA-000063-Sx for guix-patches@gnu.org; Sun, 26 Apr 2020 12:47:25 -0400 From: Hartmut Goebel Date: Sun, 26 Apr 2020 18:44:58 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40874@debbugs.gnu.org * 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