all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 51662@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#51662] [PATCH 7/7] gnu: Add rust-log4rs-1.
Date: Sun,  7 Nov 2021 14:15:29 +0000	[thread overview]
Message-ID: <20211107141529.59868-7-monego@posteo.net> (raw)
In-Reply-To: <20211107141529.59868-1-monego@posteo.net>

* gnu/packages/crates-io.scm (rust-log4rs-1): New variable.
---
 gnu/packages/crates-io.scm | 49 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a73f7e9f60..4ccf463e23 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26979,6 +26979,55 @@ by inspecting the system for user preference.")
 use with the `log` crate.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-log4rs-1
+  (package
+    (name "rust-log4rs")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "log4rs" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "04d21kkb6if7hly0syp64m15a9695fpfgvlnff3gy58i1n42lmyi"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ; 37 passed, 1 failed
+       #:cargo-inputs
+       (("rust-anyhow" ,rust-anyhow-1)
+        ("rust-arc-swap" ,rust-arc-swap-0.4)
+        ("rust-chrono" ,rust-chrono-0.4)
+        ("rust-derivative" ,rust-derivative-2)
+        ("rust-flate2" ,rust-flate2-1)
+        ("rust-fnv" ,rust-fnv-1)
+        ("rust-humantime" ,rust-humantime-2)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-log-mdc" ,rust-log-mdc-0.1)
+        ("rust-parking-lot" ,rust-parking-lot-0.11)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-value" ,rust-serde-value-0.7)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-serde-yaml" ,rust-serde-yaml-0.8)
+        ("rust-thiserror" ,rust-thiserror-1)
+        ("rust-thread-id" ,rust-thread-id-3)
+        ("rust-toml" ,rust-toml-0.5)
+        ("rust-typemap" ,rust-typemap-0.3)
+        ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs
+       (("rust-humantime" ,rust-humantime-2)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-streaming-stats"
+         ,rust-streaming-stats-0.2)
+        ("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://github.com/estk/log4rs")
+    (synopsis "Highly configurable logging implementation")
+    (description "This package provides a highly configurable multi-output
+logging implementation for the `log` facade.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-logtest-2
   (package
     (name "rust-logtest")
-- 
2.30.2





  parent reply	other threads:[~2021-11-07 14:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-07 14:13 [bug#51662] [PATCH 0/7] More crates for NewsFlash Vinicius Monego
2021-11-07 14:15 ` [bug#51662] [PATCH 1/7] gnu: Add rust-color-backtrace-0.5 Vinicius Monego
2021-11-07 14:15   ` [bug#51662] [PATCH 2/7] gnu: Add rust-xmltree-0.10 Vinicius Monego
2021-11-07 14:15   ` [bug#51662] [PATCH 3/7] gnu: Add rust-snake-case-0.3 Vinicius Monego
2021-11-07 14:15   ` [bug#51662] [PATCH 4/7] gnu: Add rust-diffus-derive-0.10 Vinicius Monego
2021-11-07 14:15   ` [bug#51662] [PATCH 5/7] gnu: Add rust-diffus-0.10 Vinicius Monego
2021-11-07 14:15   ` [bug#51662] [PATCH 6/7] gnu: Add rust-log-mdc-0.1 Vinicius Monego
2021-11-07 14:15   ` Vinicius Monego [this message]
2021-11-07 20:40 ` bug#51662: [PATCH 0/7] More crates for NewsFlash Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211107141529.59868-7-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=51662@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.