Subject: [PATCH 095/156] gnu: Add rust-platforms-3.

From: Wilko Meyer <[email-masked]>
Date: Mon, 8 Jan 2024 02:53:12 +0100

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 220578631a5..c56313a2a8d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52140,6 +52140,31 @@ (define-public rust-plain-0.2
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-platforms-3
+  (package
+    (name "rust-platforms")
+    (version "3.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "platforms" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0k7q6pigmnvgpfasvssb12m2pv3pc94zrhrfg9by3h3wmhyfqvb2"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-serde" ,rust-serde-1))))
+    (home-page "https://rustsec.org")
+    (synopsis
+     "Rust platform registry with information about valid Rust platforms (target
+triple, target_arch, target_os) sourced from the Rust compiler.
+")
+    (description
+     "Rust platform registry with information about valid Rust platforms (target
+triple, target_arch, target_os) sourced from the Rust compiler.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-platform-info-2
   (package
     (name "rust-platform-info")
-- 
2.41.0