guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/63: gnu: Add rust-aws-lc-rs-1.


From: guix-commits
Subject: 10/63: gnu: Add rust-aws-lc-rs-1.
Date: Thu, 8 Feb 2024 14:09:23 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 2ba4e0e8d2c1054b5ed2f2b6e14e4b068e2e87c0
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Wed Feb 7 16:14:55 2024 +0200

    gnu: Add rust-aws-lc-rs-1.
    
    * gnu/packages/crates-tls.scm (rust-aws-lc-rs-1): New variable.
    
    Change-Id: Ia9bb17237439f7b6dfce60a2477ab8a4759bfb49
---
 gnu/packages/crates-tls.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm
index d22d19b260..7a12996389 100644
--- a/gnu/packages/crates-tls.scm
+++ b/gnu/packages/crates-tls.scm
@@ -359,6 +359,39 @@ Cryptography team for AWS and their customers.  This is 
the FIPS validated
 version of AWS-LC.")
     (license (list license:isc license:openssl license:asl2.0))))
 
+(define-public rust-aws-lc-rs-1
+  (package
+    (name "rust-aws-lc-rs")
+    (version "1.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aws-lc-rs" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0jmwpin66yibpq0ha7i61g2ryz9gp4y6by4337fdjj2ckhwbm55v"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f          ; Not all files included.
+       #:cargo-inputs (("rust-aws-lc-fips-sys" ,rust-aws-lc-fips-sys-0.12)
+                       ("rust-aws-lc-sys" ,rust-aws-lc-sys-0.13)
+                       ("rust-mirai-annotations" ,rust-mirai-annotations-1)
+                       ("rust-paste" ,rust-paste-1)
+                       ("rust-untrusted" ,rust-untrusted-0.7)
+                       ("rust-zeroize" ,rust-zeroize-1))
+       #:cargo-development-inputs (("rust-clap" ,rust-clap-4)
+                                   ("rust-hex" ,rust-hex-0.4)
+                                   ("rust-lazy-static" ,rust-lazy-static-1)
+                                   ("rust-regex" ,rust-regex-1))))
+    (native-inputs (list cmake-minimal))
+    (home-page "https://github.com/awslabs/aws-lc-rs";)
+    (synopsis "AWS-LC is a general-purpose cryptographic library")
+    (description
+     "@code{aws-lc-rs} is a cryptographic library using AWS-LC for its
+cryptographic operations.  This library strives to be API-compatible with the
+popular Rust library named ring.")
+    (license (list license:isc license:openssl license:asl2.0))))
+
 ;; TODO: Unbundle aws-lc.
 (define-public rust-aws-lc-sys-0.13
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]