Subject: [PATCH rust-team v2 11/67] gnu: Add rust-cargo-metadata-0.19.

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

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

Change-Id: Ifc8ddaa5f51a79dc0c7016ee81688aff7b384bdb
---
 gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++------
 1 file changed, 35 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c9dd97746d..2c5b317c5a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12376,39 +12376,68 @@ (define-public rust-cargo-manifest-0.13
 manifests in @code{Cargo.toml} files.")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-cargo-metadata-0.18
+(define-public rust-cargo-metadata-0.19
   (package
     (name "rust-cargo-metadata")
-    (version "0.18.1")
+    (version "0.19.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "cargo_metadata" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0drh0zndl4qgndy6kg6783cydbvhxgv0hcg7d9hhqx0zwi3nb21d"))))
+        (base32 "096r6ai6b8r6z42lasr16pd0zbgndvs7n6a3mwh636axmmm70sc7"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-test-flags
        '("--release" "--"
+         ;; Not all files included.
          "--skip=advanced_feature_configuration"
          "--skip=all_the_fields"
          "--skip=basic_workspace_root_package_exists"
          "--skip=current_dir")
        #:cargo-inputs (("rust-camino" ,rust-camino-1)
                        ("rust-cargo-platform" ,rust-cargo-platform-0.1)
-                       ("rust-derive-builder" ,rust-derive-builder-0.12)
+                       ("rust-derive-builder" ,rust-derive-builder-0.20)
                        ("rust-semver" ,rust-semver-1)
                        ("rust-serde" ,rust-serde-1)
                        ("rust-serde-json" ,rust-serde-json-1)
-                       ("rust-thiserror" ,rust-thiserror-1))))
+                       ("rust-thiserror" ,rust-thiserror-2))))
     (home-page "https://github.com/oli-obk/cargo_metadata")
-    (synopsis "Structured access to the output of `cargo metadata`")
+    (synopsis "structured access to the output of @code{cargo metadata}")
     (description
      "This package provides structured access to the output of @code{cargo
 metadata}.")
     (license license:expat)))
 
+(define-public rust-cargo-metadata-0.18
+  (package
+    (inherit rust-cargo-metadata-0.19)
+    (name "rust-cargo-metadata")
+    (version "0.18.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cargo_metadata" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0drh0zndl4qgndy6kg6783cydbvhxgv0hcg7d9hhqx0zwi3nb21d"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       '("--release" "--"
+         "--skip=advanced_feature_configuration"
+         "--skip=all_the_fields"
+         "--skip=basic_workspace_root_package_exists"
+         "--skip=current_dir")
+       #:cargo-inputs (("rust-camino" ,rust-camino-1)
+                       ("rust-cargo-platform" ,rust-cargo-platform-0.1)
+                       ("rust-derive-builder" ,rust-derive-builder-0.12)
+                       ("rust-semver" ,rust-semver-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-thiserror" ,rust-thiserror-1))))))
+
 (define-public rust-cargo-metadata-0.17
   (package
     (inherit rust-cargo-metadata-0.18)
-- 
2.46.0