summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-09-05 16:49:00 +0300
committerEfraim Flashner <efraim@flashner.co.il>2019-09-06 15:45:58 +0300
commit313778655e4a3bd69febb1af486513dc8d25e2f6 (patch)
tree9bc64995adaa35955e9a0613c76f8d268f7498b8
parentc2c0ac145183742ed04d58c0dc893886a5b07575 (diff)
downloadpatches-313778655e4a3bd69febb1af486513dc8d25e2f6.tar
patches-313778655e4a3bd69febb1af486513dc8d25e2f6.tar.gz
gnu: Add rust-log.
* gnu/packages/crates-io.scm (rust-log): New variable.
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 29d8da51d4..ab022abc29 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1004,6 +1004,26 @@ the platform that libc is compiled for.")
(license (list license:expat
license:asl2.0))))
+(define-public rust-log
+ (package
+ (name "rust-log")
+ (version "0.3.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "log" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0nsn28syc49vvjhxcfc8261rd1frhjc0r4bn9v3mqvps3ra7f3w8"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/rust-lang-nursery/log")
+ (synopsis "Lightweight logging")
+ (description
+ "This package provides a lightweight logging facade for Rust")
+ (license (list license:asl2.0
+ license:expat))))
+
(define-public rust-maplit
(package
(name "rust-maplit")