Subject: [PATCH rust-team v2 29/67] gnu: Add rust-target-spec-miette-0.4.

From: Jordan Moore <[email-masked]>
Date: Thu, 26 Dec 2024 22:26:17 -0500

* gnu/packages/crates-io.scm (rust-target-spec-miette-0.4): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b19d9b5a79..56608d4730 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -86636,6 +86636,29 @@ (define-public rust-target-spec-3
      "This package provides Evaluate Cargo.toml target specifications.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-target-spec-miette-0.4
+  (package
+    (name "rust-target-spec-miette")
+    (version "0.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "target-spec-miette" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0bxpjq6rgw843vi5d0nd7ny4j9g9darcyr4vqv8iqd094nya77lw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-guppy-workspace-hack" ,rust-guppy-workspace-hack-0.1)
+                       ("rust-miette" ,rust-miette-7)
+                       ("rust-target-spec" ,rust-target-spec-3))))
+    (home-page "https://github.com/guppy-rs/guppy")
+    (synopsis "Integrate target-spec errors with the miette library")
+    (description
+     "This package provides Integrate target-spec errors with the miette library.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-target-triple-0.1
   (package
     (name "rust-target-triple")
-- 
2.46.0