Subject: [PATCH 01/10] gnu: Add rust-simplelog 0.12.1.
From: gravitydiv10 <[email-masked]>
To: "[email-masked]" <[email-masked]>
Cc: "[email-masked]" <[email-masked]>
Date: Wed, 22 Nov 2023 14:12:24 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

From a61e0dec65d0b4c9f04dc5bc6bb4768d0ff170d9 Mon Sep 17 00:00:00 2001
Message-ID: <a61e[email-masked]>
From: Lu <[email-masked]>
Date: Wed, 22 Nov 2023 21:33:07 +0800
Subject: [PATCH 01/10] gnu: Add rust-simplelog 0.12.1.

* gnu/packages/crates-io.scm (rust-simple-0.12): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d42ff60a20..a0c357d2f0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33,6 +33,7 @@
 ;;; Copyright © 2022 Paul Alesius <[email-masked]>
 ;;; Copyright © 2023 Arnav Andrew Jose <[email-masked]>
 ;;; Copyright © 2023 Wilko Meyer <[email-masked]>
+;;; Copyright © 2023 Lu <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -66429,6 +66430,26 @@ (define-public rust-simplelog-0.11
 small to medium sized project")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-simplelog-0.12
+  (package
+    (inherit rust-simplelog-0.11)
+    (name "rust-simplelog")
+    (version "0.12.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "simplelog" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0sa3hjdifxhcb9lnlg549fr2cc7vz89nygwbih2dbqsx3h20ivmc"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-ansi-term" ,rust-ansi-term-0.12)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-paris" ,rust-paris-1)
+                       ("rust-termcolor" ,rust-termcolor-1)
+                       ("rust-time" ,rust-time-0.3))))))
+
 (define-public rust-simple-logger-2
   (package
     (name "rust-simple-logger")

base-commit: fc6bdaad57bf91609849623c5f485403c030cb49
prerequisite-patch-id: 1b27e2939325bda399993d7b2b0afafc59c64342
-- 
2.41.0