Subject: [PATCH v7 06/44] gnu: Add rust-nextest-metadata-0.12.

From: Jordan Moore <[email-masked]>
Date: Sat, 11 Jan 2025 10:10:56 -0500

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

Change-Id: I5352bd23c6eaf7d8a28eed5ea84593501a8175ce
---
 gnu/packages/crates-check.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-check.scm b/gnu/packages/crates-check.scm
index fa893ce1c0..25cf620a6d 100644
--- a/gnu/packages/crates-check.scm
+++ b/gnu/packages/crates-check.scm
@@ -593,6 +593,33 @@ (define-public rust-nextest-filtering-0.12
     (description "This package provides Filtering DSL for cargo-nextest.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-nextest-metadata-0.12
+  (package
+    (name "rust-nextest-metadata")
+    (version "0.12.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nextest-metadata" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1cx6cdzbgmf5imjcb6vpm6xpdx5nrl3w079m0vm7la0chj21yn7d"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags '("--release" "--lib") ;running the doctests will fail
+       #:cargo-inputs (("rust-camino" ,rust-camino-1)
+                       ("rust-nextest-workspace-hack" ,rust-nextest-workspace-hack-0.1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-smol-str" ,rust-smol-str-0.3)
+                       ("rust-target-spec" ,rust-target-spec-3))
+       #:cargo-development-inputs (("rust-test-case" ,rust-test-case-3))))
+    (home-page "https://github.com/nextest-rs/nextest")
+    (synopsis "Structured access to nextest machine-readable output")
+    (description
+     "This package provides Structured access to nextest machine-readable output.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-nextest-workspace-hack-0.1
   (package
     (name "rust-nextest-workspace-hack")
-- 
2.46.0