Subject: [bug#70146] [PATCH 097/147] gnu: Add rust-ambient-authority-0.0.2.

From: Jean-Pierre De Jesus DIAZ <[email-masked]>
Date: Tue, 2 Apr 2024 18:04:49 +0200

* gnu/packages/crates-io.scm (rust-ambient-authority-0.0.2): New
variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ef8894397c..f5c2d98550 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1298,6 +1298,28 @@ (define-public rust-alto-3
      "Rust bindings for OpenAL 1.1 and extensions (including EFX).")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-ambient-authority-0.0.2
+  (package
+    (name "rust-ambient-authority")
+    (version "0.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ambient-authority" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0fxsfyhy64jx7zrkb85h1vhr5nfqncja3pwpikid471d8w6yxm79"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t))
+    (home-page "https://github.com/sunfishcode/ambient-authority")
+    (synopsis "Types representing capabilities provided by the environment")
+    (description "This package provides a library with a token type
+(@code{AmbientAuthority}) that can be used to represent that a function
+interacts with the environment without an explicit capability.")
+    ;; With LLVM exception.
+    (license (list license:asl2.0 license:asl2.0 license:expat))))
+
 (define-public rust-android-activity-0.5
   (package
     (name "rust-android-activity")
-- 
2.41.0