Subject: [bug#66134] [PATCH 09/12] gnu: add rust-target-2

From: Andrew Jose <[email-masked]>
Date: Thu, 21 Sep 2023 18:14:55 +0530

---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7561e0d3a9..a3ea71e4ab 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66897,6 +66897,27 @@ (define-public rust-target-lexicon-0.12
 tools.")
     (license license:asl2.0)))
 
+(define-public rust-target-2
+  (package
+    (name "rust-target")
+    (version "2.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "target" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0p5hi5vxcs8w95qmg9hsv985g8kaxjrzjlgsybmf4h13a1qjx1ds"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-executable-path" ,rust-executable-path-1)
+        ("rust-pretty-assertions" ,rust-pretty-assertions-0.7))))
+    (home-page "https://github.com/casey/target")
+    (synopsis "Get information on compilation target")
+    (description "Get information on compilation target")
+    (license license:cc0)))
+
 (define-public rust-tectonic-bridge-core-0.3
   (package
     (name "rust-tectonic-bridge-core")
-- 
2.34.1