summary refs log tree commit diff
diff options
context:
space:
mode:
authoraecepoglu <aecepoglu@fastmail.fm>2021-02-04 15:24:18 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-04 15:55:04 +0100
commit742ef2c87ac303071d877a5f4bcc1373d9c1d9a1 (patch)
tree03d40c5a16f458998623a37e52f0613e57882655
parent98ae6e21608c1caa849d0adca4565003bdb519f1 (diff)
downloadguix-742ef2c87ac303071d877a5f4bcc1373d9c1d9a1.tar.gz
gnu: Add rust-slog-scope-4.
* gnu/packages/crates-io.scm (rust-slog-scope-4): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 01195824cc..5e81c79761 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33551,6 +33551,32 @@ data type.")
      "This is a key values and regex based filter drain for slog.")
     (license (list license:mpl2.0 license:expat license:asl2.0))))
 
+(define-public rust-slog-scope-4
+  (package
+    (name "rust-slog-scope")
+    (version "4.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "slog-scope" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "11n7nd0g3iab8ahcwnxzpmchi4ycgjsq5nj9jn3d4k17qfsa959g"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-arc-swap" ,rust-arc-swap-1)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-slog" ,rust-slog-2))
+       #:cargo-development-inputs
+       (("rust-slog-async" ,rust-slog-async-2)
+        ("rust-slog-term" ,rust-slog-term-2))))
+    (home-page "https://github.com/slog-rs/slog")
+    (synopsis "Logging scopes for @code{slog-rs}")
+    (description "This package provides logging scopes for slog.")
+    (license (list license:mpl2.0 license:expat license:asl2.0))))
+
 (define-public rust-slog-term-2
   (package
     (name "rust-slog-term")