diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-07-09 17:13:57 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-07-09 22:17:01 +0300 |
commit | 0ff6b01ef26dbe5fc3c3de9697836a65626211b7 (patch) | |
tree | 5ffa290bb52da07233ef72ccd9d69f1b89f58653 | |
parent | 2f6504735b8f76572edf43c6a25dc6d23e013232 (diff) |
gnu: Add rust-pretty-env-logger-0.4.
* gnu/packages/crates-io.scm (rust-pretty-env-logger-0.4): New variable.
(rust-pretty-env-logger-0.3): Inherit from rust-pretty-env-logger-0.4.
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 25 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index fabb81d8c9..f9ba452159 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -17657,8 +17657,32 @@ replacements, adding colorful diffs.") replacements, adding colorful diffs.") (license (list license:expat license:asl2.0)))) +(define-public rust-pretty-env-logger-0.4 + (package + (name "rust-pretty-env-logger") + (version "0.4.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pretty-env-logger" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "17gva1rlf9fhgr0jr19kv39f8bir3f4pa4jz02qbhl9qanwkcvcj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-env-logger" ,rust-env-logger-0.7) + ("rust-log" ,rust-log-0.4)))) + (home-page "https://github.com/seanmonstar/pretty-env-logger") + (synopsis "Visually pretty env_logger") + (description "This package provides a visually pretty env_logger.") + (license (list license:expat license:asl2.0)))) + (define-public rust-pretty-env-logger-0.3 (package + (inherit rust-pretty-env-logger-0.4) (name "rust-pretty-env-logger") (version "0.3.1") (source @@ -17670,17 +17694,12 @@ replacements, adding colorful diffs.") (sha256 (base32 "0x4hyjlnvvhyk9m74iypzybm22w3dl2k8img4b956239n5vf8zki")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-log" ,rust-log-0.4) ("rust-chrono" ,rust-chrono-0.4) - ("rust-env-logger" ,rust-env-logger-0.6)))) - (home-page "https://github.com/seanmonstar/pretty-env-logger") - (synopsis "Visually pretty env_logger") - (description "This package provides a visually pretty env_logger.") - (license (list license:expat license:asl2.0)))) + ("rust-env-logger" ,rust-env-logger-0.6)))))) (define-public rust-prettytable-rs-0.8 (package |