Subject: [bug#75127] [PATCH rust-team v3 16/67] gnu: Add rust-target-spec-3.

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

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8f49d37e4a..72d3e21f78 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -86312,6 +86312,33 @@ (define-public rust-target-lexicon-0.11
         (base32 "15gax4765vm2inh45m7cvaf4mgd2mb2mn0i87np0i1d95qhla822"))))
     (arguments '())))
 
+(define-public rust-target-spec-3
+  (package
+    (name "rust-target-spec")
+    (version "3.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "target-spec" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0zsib85z6863kjv10x8pbjc2cyr7g60p5kxpcdqyvdy8zmvbq06s"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-cfg-expr" ,rust-cfg-expr-0.17)
+                       ("rust-guppy-workspace-hack" ,rust-guppy-workspace-hack-0.1)
+                       ("rust-proptest" ,rust-proptest-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-target-lexicon" ,rust-target-lexicon-0.12)
+                       ("rust-unicode-ident" ,rust-unicode-ident-1))))
+    (home-page "https://github.com/guppy-rs/guppy")
+    (synopsis "Evaluate Cargo.toml target specifications")
+    (description
+     "This package provides Evaluate Cargo.toml target specifications.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-target-triple-0.1
   (package
     (name "rust-target-triple")
-- 
2.46.0