summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 11:51:17 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:19 +0200
commitf5da783fcfb19312f13424aef42a3e80712c0f79 (patch)
tree88b71e7ae677aefc5571b4a33c5359f708170396
parentf61f8f1e6b78df920d18d43203a7ceae0c55ebb8 (diff)
downloadguix-f5da783fcfb19312f13424aef42a3e80712c0f79.tar.gz
gnu: Add rust-simple-logger-4.
* gnu/packages/crates-io.scm (rust-simple-logger-4): New variable.
(rust-simple-logger-2): Inherit from rust-simple-logger-4.

Change-Id: I9430b8bbc319e3131f72dc1eadafc67563019066
-rw-r--r--gnu/packages/crates-io.scm34
1 files changed, 26 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b0ffe0d456..6fd191316a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67095,8 +67095,33 @@ small to medium sized project")
         ("rust-paris" ,rust-paris-1)
         ("rust-termcolor" ,rust-termcolor-1))))))
 
+(define-public rust-simple-logger-4
+  (package
+    (name "rust-simple-logger")
+    (version "4.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "simple_logger" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1w9ypyn5n7bxw6aylbkwz3hfsjpvkx0qm2xj11yx8l82r744czlf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-colored" ,rust-colored-2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-time" ,rust-time-0.3)
+                       ("rust-windows-sys" ,rust-windows-sys-0.48))))
+    (home-page "https://github.com/borntyping/rust-simple_logger")
+    (synopsis "Logger with a readable output format")
+    (description
+     "This package provides a logger that prints all messages with
+a readable output format.")
+    (license license:expat)))
+
 (define-public rust-simple-logger-2
   (package
+    (inherit rust-simple-logger-4)
     (name "rust-simple-logger")
     (version "2.3.0")
     (source (origin
@@ -67106,20 +67131,13 @@ small to medium sized project")
               (sha256
                (base32
                 "1ivdlw45f07byxgl43l2pa0dlnclbw1aj40shjpil598nmvpw128"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-atty" ,rust-atty-0.2)
         ("rust-colored" ,rust-colored-2)
         ("rust-log" ,rust-log-0.4)
         ("rust-time" ,rust-time-0.3)
-        ("rust-winapi" ,rust-winapi-0.3))))
-    (home-page "https://github.com/borntyping/rust-simple_logger")
-    (synopsis "Logger with a readable output format")
-    (description
-     "This package provides a logger that prints all messages with
-a readable output format.")
-    (license license:expat)))
+        ("rust-winapi" ,rust-winapi-0.3))))))
 
 (define-public rust-simple-logger-1
   (package