Subject: [bug#68481] [PATCH 02/32] gnu: Add rust-aws-lc-fips-sys-0.11.

From: VÖRÖSKŐI András <[email-masked]>
Date: Mon, 15 Jan 2024 20:28:29 +0100

* gnu/packages/crates-io.scm (rust-aws-lc-fips-sys): New variable.

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bb37447c2b..f697cea1a7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5353,6 +5353,34 @@ (define-public rust-avro-rs-0.13
      "This package is a library for working with Apache Avro in Rust.")
     (license license:expat)))
 
+(define-public rust-aws-lc-fips-sys-0.11
+  (package
+    (name "rust-aws-lc-fips-sys")
+    (version "0.11.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aws-lc-fips-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "18fvkarjwqwsz13vgr866pmjpis4xrwd7qg0ilyrzvklsr5pjmhg"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69)
+                       ("rust-cmake" ,rust-cmake-0.1)
+                       ("rust-dunce" ,rust-dunce-1)
+                       ("rust-fs-extra" ,rust-fs-extra-1)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-paste" ,rust-paste-1))))
+    (home-page "https://github.com/aws/aws-lc-rs")
+    (synopsis
+     "AWS-LC is a general-purpose cryptographic library")
+    (description
+     "AWS-LC is a general-purpose cryptographic library maintained by the AWS
+Cryptography team for AWS and their customers.  This is the FIPS validated
+version of AWS-LC.")
+    (license (list license:isc license:asl2.0))))
+
 (define-public rust-az-1
   (package
     (name "rust-az")
-- 
2.41.0