guix-commits
[Top][All Lists]
Advanced

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

11/63: gnu: Add rust-rcgen-0.12.


From: guix-commits
Subject: 11/63: gnu: Add rust-rcgen-0.12.
Date: Thu, 8 Feb 2024 14:09:23 -0500 (EST)

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

commit b84f73cbe367f9c901b2c5b8f4e3d42313fac5bf
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Tue Jan 30 20:25:07 2024 +0100

    gnu: Add rust-rcgen-0.12.
    
    * gnu/packages/crates-tls.scm (rust-rcgen-0.12): New variable.
    (rust-rcgen-0.11): Inherit from rust-rcgen-0.12.
    
    Change-Id: I3e37ab618be638896c622ce32e6ad13bb492af40
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-tls.scm | 46 ++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 41 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm
index 7a12996389..332784ad65 100644
--- a/gnu/packages/crates-tls.scm
+++ b/gnu/packages/crates-tls.scm
@@ -819,17 +819,17 @@ grammars and BER/DER encodings, for example.")
      `(#:skip-build? #t
        #:cargo-inputs (("rust-der-parser" ,rust-der-parser-6))))))
 
-(define-public rust-rcgen-0.11
+(define-public rust-rcgen-0.12
   (package
     (name "rust-rcgen")
-    (version "0.11.3")
+    (version "0.12.1")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "rcgen" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1iivv3xycr9mjfmp522xjqj47nsl5amlzzsfpbxpvg53984g7i2j"))
+                "1qg10xvayyxhkcjk1x3g6n59a5rq6iaw6vmmrmyvqg0zmjw6sh28"))
               (modules '((guix build utils)))
               (snippet
                '(begin
@@ -839,8 +839,9 @@ grammars and BER/DER encodings, for example.")
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-pem" ,rust-pem-3)
-        ("rust-ring" ,rust-ring-0.16)
+       (("rust-aws-lc-rs" ,rust-aws-lc-rs-1)
+        ("rust-pem" ,rust-pem-3)
+        ("rust-ring" ,rust-ring-0.17)
         ("rust-time" ,rust-time-0.3)
         ("rust-x509-parser" ,rust-x509-parser-0.15)
         ("rust-yasna" ,rust-yasna-0.5)
@@ -849,6 +850,7 @@ grammars and BER/DER encodings, for example.")
        (("rust-botan" ,rust-botan-0.10)
         ("rust-openssl" ,rust-openssl-0.10)
         ("rust-rand" ,rust-rand-0.8)
+        ("rust-ring" ,rust-ring-0.17)
         ("rust-rsa" ,rust-rsa-0.9)
         ("rust-rustls-webpki" ,rust-rustls-webpki-0.101)
         ("rust-x509-parser" ,rust-x509-parser-0.15))))
@@ -861,6 +863,40 @@ grammars and BER/DER encodings, for example.")
     (description "Rust X.509 certificate generator.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rcgen-0.11
+  (package
+    (inherit rust-rcgen-0.12)
+    (name "rust-rcgen")
+    (version "0.11.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "rcgen" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1iivv3xycr9mjfmp522xjqj47nsl5amlzzsfpbxpvg53984g7i2j"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  ;; Don't use a vendored botan.
+                  (substitute* "Cargo.toml"
+                    ((".*vendored.*") ""))))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-pem" ,rust-pem-3)
+        ("rust-ring" ,rust-ring-0.16)
+        ("rust-time" ,rust-time-0.3)
+        ("rust-x509-parser" ,rust-x509-parser-0.15)
+        ("rust-yasna" ,rust-yasna-0.5)
+        ("rust-zeroize" ,rust-zeroize-1))
+       #:cargo-development-inputs
+       (("rust-botan" ,rust-botan-0.10)
+        ("rust-openssl" ,rust-openssl-0.10)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-rsa" ,rust-rsa-0.9)
+        ("rust-rustls-webpki" ,rust-rustls-webpki-0.101)
+        ("rust-x509-parser" ,rust-x509-parser-0.15))))))
+
 (define-public rust-rcgen-0.10
   (package
     (inherit rust-rcgen-0.11)



reply via email to

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