From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 63/86] gnu: Add rust-env-logger. Date: Tue, 3 Jan 2017 23:36:19 +0000 Message-ID: <20170103233642.3181-64-ng0@libertad.pw> References: <20170103233642.3181-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOYf8-0004Ll-Pi for guix-devel@gnu.org; Tue, 03 Jan 2017 18:38:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOYf7-00026L-O9 for guix-devel@gnu.org; Tue, 03 Jan 2017 18:38:38 -0500 Received: from aibo.runbox.com ([91.220.196.211]:33488) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOYf7-00024h-Gf for guix-devel@gnu.org; Tue, 03 Jan 2017 18:38:37 -0500 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cOYf6-0002od-7m for guix-devel@gnu.org; Wed, 04 Jan 2017 00:38:36 +0100 In-Reply-To: <20170103233642.3181-1-ng0@libertad.pw> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/rust.scm (rust-env-logger): New variable. --- gnu/packages/rust.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm index 2c3f802d0..dbb61cdf0 100644 --- a/gnu/packages/rust.scm +++ b/gnu/packages/rust.scm @@ -1740,3 +1740,28 @@ UTF-8 decoding as part of one's automaton.") "Implementation of regular expressions for Rust. This implementation uses finite automata and guarantees linear time matching on all inputs.") (license (list license:expat license:asl2.0)))) + +(define-public rust-env-logger + (package + (name "rust-env-logger") + (version "0.3.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "env_logger" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0bvcjgkw4s3k1rd7glpflgc8s9a393zjd6jfdgvs8gjvwj0dgaqm")))) + (build-system cargo-build-system) + (inputs + `(("rust-log" ,rust-log "src") + ("rust-regex" ,rust-regex "src"))) + (home-page "https://github.com/rust-lang/log") + (synopsis + "Logging implementation for `log`") + (description + "Logging implementation for @code{log} which is configured via an +environment variable.") + (license (list license:expat license:asl2.0)))) -- 2.11.0