guix-commits
[Top][All Lists]
Advanced

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

111/137: gnu: Add rust-rcgen-0.10.


From: guix-commits
Subject: 111/137: gnu: Add rust-rcgen-0.10.
Date: Thu, 21 Dec 2023 04:26:40 -0500 (EST)

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

commit 21e02ad2415c9766555120a1501b250ebb9bad26
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Dec 21 09:30:43 2023 +0200

    gnu: Add rust-rcgen-0.10.
    
    * gnu/packages/crates-io.scm (rust-rcgen-0.10): New variable.
    
    Change-Id: Ia3ed8f60954df4af0ffc979fc36774ce3158e8d8
---
 gnu/packages/crates-io.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1bc66f4809..4cb0d3c0d3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -61851,6 +61851,37 @@ Rust.")
     (description "Rust X.509 certificate generator")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rcgen-0.10
+  (package
+    (inherit rust-rcgen-0.11)
+    (name "rust-rcgen")
+    (version "0.10.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rcgen" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0nvqgr697xzdzaavkcwcl59kxw7xfx9zdhdzx49fm3gkwbpq9gpz"))
+       (snippet
+        #~(begin (use-modules (guix build utils))
+                 ;; Don't use a vendored botan.
+                 (substitute* "Cargo.toml"
+                   ((".*vendored.*") ""))))))
+    (arguments
+     `(#:cargo-inputs (("rust-pem" ,rust-pem-1)
+                       ("rust-ring" ,rust-ring-0.16)
+                       ("rust-time" ,rust-time-0.3)
+                       ("rust-x509-parser" ,rust-x509-parser-0.14)
+                       ("rust-yasna" ,rust-yasna-0.5)
+                       ("rust-zeroize" ,rust-zeroize-1))
+       #:cargo-development-inputs (("rust-botan" ,rust-botan-0.8)
+                                   ("rust-openssl" ,rust-openssl-0.10)
+                                   ("rust-rand" ,rust-rand-0.8)
+                                   ("rust-rsa" ,rust-rsa-0.6)
+                                   ("rust-webpki" ,rust-webpki-0.22)
+                                   ("rust-x509-parser" 
,rust-x509-parser-0.14))))))
+
 (define-public rust-rcgen-0.8
   (package
     (inherit rust-rcgen-0.11)



reply via email to

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