guix-devel
[Top][All Lists]
Advanced

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

[PATCH 63/86] gnu: Add rust-env-logger.


From: ng0
Subject: [PATCH 63/86] gnu: Add rust-env-logger.
Date: Tue, 3 Jan 2017 23:36:19 +0000

* 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




reply via email to

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