unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "VÖRÖSKŐI András" <voroskoi@gmail.com>
To: 68481@debbugs.gnu.org
Cc: "VÖRÖSKŐI András" <voroskoi@gmail.com>,
	"Efraim Flashner" <efraim@flashner.co.il>
Subject: [bug#68481] [PATCH v2 04/13] gnu: Add rust-rcgen-0.12.
Date: Tue, 30 Jan 2024 20:25:07 +0100	[thread overview]
Message-ID: <737b7427fd10fd298166c13dc646348923da72b3.1706642716.git.voroskoi@gmail.com> (raw)
In-Reply-To: <f6f6aa6e34d7741b6ee4c8a01fc56068b4a55868.1706642716.git.voroskoi@gmail.com>

* gnu/packages/crates-io.scm (rust-rcgen-0.12): New variable.

Change-Id: I3e37ab618be638896c622ce32e6ad13bb492af40
---
 gnu/packages/crates-io.scm | 152 +++++++++++++++++++++++++++++++++++++
 1 file changed, 152 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 05ed98b686..6de12710a9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51789,6 +51789,158 @@ (define-public rust-rayon-core-1
     (description "This package provides core APIs for Rayon.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-rcgen-0.12
+  (package
+    (name "rust-rcgen")
+    (version "0.12.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "rcgen" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0pfvmm1s8x12hiw810jv9ng1gnqnplh30xi6nw6mdix4qn08r4ax"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  ;; Don't use a vendored botan.
+                  (substitute* "Cargo.toml"
+                    ((".*vendored.*") ""))))))
+    (build-system cargo-build-system)
+    (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))))
+    (native-inputs
+     (list pkg-config))
+    (inputs
+     (list botan openssl))
+    (home-page "https://github.com/rustls/rcgen")
+    (synopsis "Rust X.509 certificate generator")
+    (description "Rust X.509 certificate generator.")
+    (license (list license:expat license:asl2.0))))
+
+(define-public rust-rcgen-0.11
+  (package
+    (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.*") ""))))))
+    (build-system cargo-build-system)
+    (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))))
+    (native-inputs
+     (list pkg-config))
+    (inputs
+     (list botan openssl))
+    (home-page "https://github.com/rustls/rcgen")
+    (synopsis "Rust X.509 certificate generator")
+    (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)
+    (name "rust-rcgen")
+    (version "0.8.14")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "rcgen" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 "19qvlcz8kl046q85xa40p3xg7l78jganj83hdbawjhs17x0d24ar"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  ;; Don't use a vendored botan.
+                  (substitute* "Cargo.toml"
+                    ((".*vendored.*") ""))))))
+    (arguments
+     `(#:cargo-test-flags
+       '("--release" "--"
+         "--skip=tests::test_dt_to_generalized"
+         "--skip=tests::test_dt_utc_strip_nanos")
+       #:cargo-inputs
+       (("rust-chrono" ,rust-chrono-0.4)
+        ("rust-pem" ,rust-pem-1)
+        ("rust-ring" ,rust-ring-0.16)
+        ("rust-x509-parser" ,rust-x509-parser-0.12)
+        ("rust-yasna" ,rust-yasna-0.4)
+        ("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.5)
+        ("rust-webpki" ,rust-webpki-0.22)
+        ("rust-x509-parser" ,rust-x509-parser-0.12))))))
+
 (define-public rust-rctree-0.5
   (package
     (name "rust-rctree")
-- 
2.41.0





  parent reply	other threads:[~2024-01-30 19:26 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-15 19:18 [bug#68481] Update rbw to 1.9 András Vöröskői
2024-01-15 19:28 ` [bug#68481] [PATCH 01/32] gnu: rust-anstream: Update to 0.6.7 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 02/32] gnu: Add rust-aws-lc-fips-sys-0.11 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 03/32] gnu: Add rust-aws-lc-sys-0.12 VÖRÖSKŐI András
2024-01-18  7:45     ` Efraim Flashner
2024-01-30 19:29       ` András Vöröskői
2024-01-15 19:28   ` [bug#68481] [PATCH 04/32] gnu: Add rust-aws-lc-rs-1 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 05/32] gnu: rust-clap-builder: Update to 4.4.16 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 06/32] gnu: rust-clap: " VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 07/32] gnu: rust-clap-complete: Update to 4.4.6 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 08/32] gnu: Add rust-completest-0.2 VÖRÖSKŐI András
2024-01-18  7:45     ` Efraim Flashner
2024-01-30 19:32       ` András Vöröskői
2024-01-15 19:28   ` [bug#68481] [PATCH 09/32] gnu: rust-env-logger: Update to 0.10.1 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 10/32] gnu: rust-hkdf: Update to 0.12.4 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 11/32] gnu: rust-is-terminal: Update to 0.4.10 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 12/32] gnu: rust-mio: Update to 0.8.10 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 13/32] gnu: Add rust-mirai-annotations-1 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 14/32] gnu: Add rust-rcgen-0.12 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 15/32] gnu: rust-rsa: Update to 0.9.6 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 16/32] gnu: rust-serde-repr: Update to 0.1.18 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 17/32] gnu: rust-socket2: Update to 0.5.5 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 18/32] gnu: rust-spki: Update to 0.7.3 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 19/32] gnu: rust-subtle: Update to 2.5.0 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 20/32] gnu: rust-thiserror-impl: Update to 1.0.56 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 21/32] gnu: rust-thiserror: " VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 22/32] gnu: rust-zeroize: Update to 1.7.0 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 23/32] gnu: Add rust-rustls-webpki-0.102 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 24/32] gnu: Add rust-rustls-native-certs-0.7 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 25/32] gnu: Add rust-rustls-0.22 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 26/32] gnu: Add rust-webpki-roots-0.26 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 27/32] gnu: Add rust-tokio-rustls-0.25 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 28/32] gnu: Add rust-tungstenite-0.21 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 29/32] gnu: Add rust-tokio-tungstenite-0.21 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 30/32] gnu: rust-tokio-macros: Update to 2.2.0 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 31/32] gnu: rust-tokio: Update to 1.35.1 VÖRÖSKŐI András
2024-01-15 19:28   ` [bug#68481] [PATCH 32/32] gnu: rbw: Update to 1.9.0 VÖRÖSKŐI András
2024-01-18  7:45     ` Efraim Flashner
2024-01-29 19:44       ` András Vöröskői
2024-01-30 19:25 ` [bug#68481] [PATCH v2 01/13] gnu: rust-clap-builder: Update to 4.4.16 VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 02/13] gnu: rust-clap: " VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 03/13] gnu: Add rust-mirai-annotations-1 VÖRÖSKŐI András
2024-01-30 19:25   ` VÖRÖSKŐI András [this message]
2024-01-30 19:25   ` [bug#68481] [PATCH v2 05/13] gnu: rust-subtle: Update to 2.5.0 VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 06/13] gnu: Add rust-rustls-native-certs-0.7 VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 07/13] gnu: Add rust-rustls-webpki-0.102 VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 08/13] gnu: Add rust-rustls-0.22 VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 09/13] gnu: Add rust-webpki-roots-0.26 VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 10/13] gnu: Add rust-tokio-rustls-0.25 VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 11/13] gnu: Add rust-tungstenite-0.21 VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 12/13] gnu: Add rust-tokio-tungstenite-0.21 VÖRÖSKŐI András
2024-01-30 19:25   ` [bug#68481] [PATCH v2 13/13] gnu: rbw: Update to 1.9.0 VÖRÖSKŐI András
2024-02-08 19:09     ` bug#68481: " Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=737b7427fd10fd298166c13dc646348923da72b3.1706642716.git.voroskoi@gmail.com \
    --to=voroskoi@gmail.com \
    --cc=68481@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).