guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#46192] [PATCH 08/21] gnu: Add rust-slog-scope-4.


From: aecepoglu
Subject: [bug#46192] [PATCH 08/21] gnu: Add rust-slog-scope-4.
Date: Thu, 4 Feb 2021 14:38:07 +0300

* gnu/packages/crates-io.scm (rust-slog-scope-4): New variable.
---
 gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eb5cad97db..23c36d215c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33472,6 +33472,36 @@ data type.")
             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
+      `(#: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 slog-rs")
+    (description "Logging scopes for slog-rs")
+    (license
+      (list license:mpl2.0
+            license:expat
+            license:asl2.0))))
+
 (define-public rust-slug-0.1
   (package
     (name "rust-slug")
-- 
2.30.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]