[bug#75127,rust-team,v3,29/67] gnu: Add rust-target-spec-miette-0.4.

Message ID 43d573b5db39078d15502677db734ce105450961.1735270704.git.lockbox@struct.foo
State New
Headers
Series [bug#75127,rust-team,v3,01/67] gnu: Add cargo-nextest. |

Commit Message

Jordan Moore Dec. 27, 2024, 3:37 a.m. UTC
  * 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(+)
  

Patch

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")