summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-19 23:59:52 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-03 22:06:29 +0100
commita60dca6fcc886e30faa84eb26fae90de3899164a (patch)
treea0a180d354c632e1590a380bcea81d939c0228ea
parent1f7f45efe573cf8f51d179c943df2edfee5a8199 (diff)
gnu: Add rust-femme-1.
* gnu/packages/crates-io.scm (rust-femme-1): New variable.
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d9f7ebd6e5..e01b190044 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9368,6 +9368,38 @@ implement features such as look-around and backtracking, which are not
supported in purely NFA-based implementations.")
(license license:expat)))
+(define-public rust-femme-1
+ (package
+ (name "rust-femme")
+ (version "1.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "femme" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0spf66m22dvnz6x077znybk906lh4p5z30nh8c37mad2c3dc56jd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #false
+ #:cargo-inputs
+ (("rust-async-log" ,rust-async-log-1)
+ ("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-console" ,rust-console-0.7)
+ ("rust-js-sys" ,rust-js-sys-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+ ("rust-web-sys" ,rust-web-sys-0.3))))
+ (home-page "https://github.com/lrlna/femme")
+ (synopsis "Pretty-printer and @code{ndjson} logger for @code{log} crate")
+ (description
+ "This package provides a pretty-printer and @code{ndjson} logger for
+@code{log} crate.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-fern-0.6
(package
(name "rust-fern")