guix-commits
[Top][All Lists]
Advanced

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

45/111: gnu: Add rust-aws-lc-sys-0.23.


From: guix-commits
Subject: 45/111: gnu: Add rust-aws-lc-sys-0.23.
Date: Thu, 21 Nov 2024 08:33:29 -0500 (EST)

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

commit 81d2681738a9f98200e1c8a6ed5de114eeb574ab
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Nov 20 20:42:25 2024 +0200

    gnu: Add rust-aws-lc-sys-0.23.
    
    * gnu/packages/crates-tls.scm (rust-aws-lc-sys-0.23): New variable.
    (rust-aws-lc-sys-0.13): Inherit from rust-aws-lc-sys-0.23.
    
    Change-Id: I60c79071a42cd41bc9d1566b618d26b5a0484e7f
---
 gnu/packages/crates-tls.scm | 29 +++++++++++++++++++++++++----
 1 file changed, 25 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm
index 13e2ec74f6..1ab8aa4f1f 100644
--- a/gnu/packages/crates-tls.scm
+++ b/gnu/packages/crates-tls.scm
@@ -470,21 +470,21 @@ 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
+(define-public rust-aws-lc-sys-0.23
   (package
     (name "rust-aws-lc-sys")
-    (version "0.13.0")
+    (version "0.23.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "aws-lc-sys" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "05a7z5hg00zpk4gvqggzv7j6bvljplx2c1kw44ifmxjnf5469rdn"))))
+        (base32 "15igggl0xvzx212di0z4l1hxcvjhlk5ns67iw5yis7p8knd62fmd"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69)
+                       ("rust-cc" ,rust-cc-1)
                        ("rust-cmake" ,rust-cmake-0.1)
                        ("rust-dunce" ,rust-dunce-1)
                        ("rust-fs-extra" ,rust-fs-extra-1)
@@ -499,6 +499,27 @@ Cryptography team for AWS and their customers.  It is 
based on code from the
 Google @code{BoringSSL} project and the @code{OpenSSL} project.")
     (license (list license:isc license:openssl license:asl2.0))))
 
+;; TODO: Unbundle aws-lc.
+(define-public rust-aws-lc-sys-0.13
+  (package
+    (inherit rust-aws-lc-sys-0.23)
+    (name "rust-aws-lc-sys")
+    (version "0.13.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "aws-lc-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "05a7z5hg00zpk4gvqggzv7j6bvljplx2c1kw44ifmxjnf5469rdn"))))
+    (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))))))
+
 (define-public rust-der-0.7
   (package
     (name "rust-der")



reply via email to

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