guix-commits
[Top][All Lists]
Advanced

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

44/111: gnu: rust-aws-lc-rs-1: Update to 1.11.0.


From: guix-commits
Subject: 44/111: gnu: rust-aws-lc-rs-1: Update to 1.11.0.
Date: Thu, 21 Nov 2024 08:33:28 -0500 (EST)

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

commit 2f8f9555ba53a765760bdb93b3432dbbc8307fbb
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Nov 20 20:41:09 2024 +0200

    gnu: rust-aws-lc-rs-1: Update to 1.11.0.
    
    * gnu/packages/crates-tls.scm (rust-aws-lc-rs-1): Update to 1.11.0.
    [source]: Add snippet to allow for newer versions of dependencies.
    [cargo-inputs]: Replace rust-aws-lc-sys-0.13 with 0.23.
    [cargo-development-inputs]: Add rust-home-0.5, rust-regex-automata-0.3,
    rust-regex-syntax-0.7, rust-which-5.
    
    Change-Id: Ib89501fcd736e39be06bba0dc47daa1e7c1b957a
---
 gnu/packages/crates-tls.scm | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm
index fbdb91282c..13e2ec74f6 100644
--- a/gnu/packages/crates-tls.scm
+++ b/gnu/packages/crates-tls.scm
@@ -430,27 +430,37 @@ version of AWS-LC.")
 (define-public rust-aws-lc-rs-1
   (package
     (name "rust-aws-lc-rs")
-    (version "1.6.1")
+    (version "1.11.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "aws-lc-rs" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0jmwpin66yibpq0ha7i61g2ryz9gp4y6by4337fdjj2ckhwbm55v"))))
+        (base32 "0ifz8z5y4qg94ri9vybyv2pq0hr7ds3da1r6rmd08dk2nr02hz7y"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin (substitute* "Cargo.toml"
+                  (("\"[=~] ?([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+                   (string-append "\"^" version)))))))
     (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-aws-lc-sys" ,rust-aws-lc-sys-0.23)
                        ("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-home" ,rust-home-0.5)
                                    ("rust-lazy-static" ,rust-lazy-static-1)
-                                   ("rust-regex" ,rust-regex-1))))
+                                   ("rust-proc-macro2" ,rust-proc-macro2-1)
+                                   ("rust-regex" ,rust-regex-1)
+                                   ("rust-regex-automata" 
,rust-regex-automata-0.3)
+                                   ("rust-regex-syntax" ,rust-regex-syntax-0.7)
+                                   ("rust-which" ,rust-which-5))))
     (native-inputs (list cmake-minimal))
     (home-page "https://github.com/awslabs/aws-lc-rs";)
     (synopsis "AWS-LC is a general-purpose cryptographic library")



reply via email to

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