[bug#77382,rust-team,11/18] gnu: Add rust-paris-log-1.

Message ID e9f1eca9feeff8f62abcee804910e2e2fde27ec3.1743337577.git.gabrielsantosdesouza@disroot.org
State New
Headers
Series gnu: Add matugen. |

Commit Message

Gabriel Santos March 30, 2025, 12:26 p.m. UTC
  * gnu/packages/crates-io.scm (rust-paris-log-1): New variable.

Change-Id: Iea02921f5fa03701fb9bbd3b02f53da350e3b3ce
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6176514cc9..12bf09bd91 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53333,6 +53333,31 @@  (define-public rust-paris-1
 want in the terminal.")
     (license license:mpl2.0)))
 
+(define-public rust-paris-log-1
+  (package
+    (name "rust-paris-log")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "paris-log" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1syp82r34s9kc7m3qm5iy1lhamwzkmw34sxf5x39dvpy01nbwkbp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-log" ,rust-log-0.4)
+                       ("rust-paris" ,rust-paris-1))
+       #:cargo-development-inputs
+       (("rust-simplelog" ,rust-simplelog-0.12))))
+    (home-page "https://github.com/naturecodevoid/paris-log")
+    (synopsis
+     "Use paris's formatting with the log crate.")
+    (description
+     "This package provides compatibility tools for the @code{rust-paris}
+and @code{rust-log} crates.")
+    (license license:expat)))
+
 (define-public rust-parity-scale-codec-2
   (package
     (name "rust-parity-scale-codec")