summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorAndrew Jose <arnav.jose@gmail.com>2023-09-21 18:14:55 +0530
committerEfraim Flashner <efraim@flashner.co.il>2023-09-28 21:17:19 +0300
commit87a216a516a3bc9fdae685eec8cdd7ad6c33e96b (patch)
tree0d1eb709fd49688086201b8a28cca667bbd009d1 /gnu/packages
parent7c8d00b5dd3b33aca44f98aa4bd968c51638137f (diff)
downloadguix-87a216a516a3bc9fdae685eec8cdd7ad6c33e96b.tar.gz
gnu: Add rust-target-2.
* gnu/packages/crates-io.scm (rust-target-2): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 08706885b8..11dc109708 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66864,6 +66864,27 @@ memory all at once.")
     (license (list license:asl2.0
                    license:expat))))
 
+(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-target-build-utils-0.3
   (package
     (name "rust-target-build-utils")