Subject: [bug#74551] [PATCH 31/49] gnu: Add rust-shadow-rs-0.35.

From: Jordan Moore <[email-masked]>
Date: Tue, 26 Nov 2024 16:39:06 -0500

* gnu/packages/crates-io.scm (rust-shadow-rs-0.35): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7ee6e4c7c4..999e980671 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -74349,6 +74349,35 @@ (define-public rust-sevenz-rust-0.5
      "This package provides a 7z decompressor/compressor written in pure rust.")
     (license license:asl2.0)))
 
+(define-public rust-shadow-rs-0.35
+  (package
+    (name "rust-shadow-rs")
+    (version "0.35.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "shadow-rs" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "11w6677ymsb69fy716adf51zjbzwgkkyf5arz41563gcnf7k5cpi"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-cargo-metadata" ,rust-cargo-metadata-0.18)
+                       ("rust-const-format" ,rust-const-format-0.2)
+                       ("rust-document-features" ,rust-document-features-0.2)
+                       ("rust-git2" ,rust-git2-0.19)
+                       ("rust-is-debug" ,rust-is-debug-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-time" ,rust-time-0.3)
+                       ("rust-tzdb" ,rust-tzdb-0.6))
+       #:cargo-development-inputs (("rust-winnow" ,rust-winnow-0.6))))
+    (home-page "https://github.com/baoyachi/shadow-rs")
+    (synopsis "build-time information stored in your rust project")
+    (description
+     "This package provides a build-time information stored in your rust project.")
+    (license (list license:expat license:asl2.0))))
+
+
 (define-public rust-shadow-rs-0.26
   (package
     (name "rust-shadow-rs")
-- 
2.46.0