summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-01-20 21:32:49 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-01-21 16:23:56 +0200
commit2f1fe591d1073465f05a73e21b10ee653c138c40 (patch)
tree36fa98bc183a848ee68462000786c54d94a11d23
parent272004aee52d492a538a243e4387b10628fc8f86 (diff)
downloadguix-2f1fe591d1073465f05a73e21b10ee653c138c40.tar.gz
gnu: Add rust-env-logger-0.4.
* gnu/packages/crates-io.scm (rust-env-logger-0.4): New variable.
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f4f32a79fd..c3f32d0b32 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2938,6 +2938,27 @@ is configured via an environment variable.")
         ("rust-regex" ,rust-regex-1.1)
         ("rust-termcolor" ,rust-termcolor-1.0))))))
 
+(define-public rust-env-logger-0.4
+  (package
+    (inherit rust-env-logger-0.7)
+    (name "rust-env-logger")
+    (version "0.4.3")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "env-logger" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0nydz2lidsvx9gs0v2zcz68rzqx8in7fzmiprgsrhqh17vkj3prx"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-log" ,rust-log-0.3)
+        ("rust-regex" ,rust-regex-0.2))))))
+
 (define-public rust-envmnt-0.6
   (package
     (name "rust-envmnt")