diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-08-03 14:44:26 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-08-14 19:38:25 +0300 |
commit | 7138833abe219503be2478d012b58a99079dd9d7 (patch) | |
tree | c426b16ba74d765310d33cdcec447c9d70f215fa /gnu/packages/crates-io.scm | |
parent | cb390d429eba0608a52f4631e22035f4362b7bf2 (diff) | |
download | guix-7138833abe219503be2478d012b58a99079dd9d7.tar.gz |
gnu: Add rust-webpki-roots-0.25.
* gnu/packages/crates-io.scm (rust-webpki-roots-0.25): New variable. (rust-webpki-roots-0.22): Inherit from rust-webpki-roots-0.25.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 45 |
1 files changed, 36 insertions, 9 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2c150baf7d..710e77c694 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -76722,8 +76722,43 @@ Verification.") (lambda _ (invoke "python" "make_curve25519_tables.py"))))))))))) +(define-public rust-webpki-roots-0.25 + (package + (name "rust-webpki-roots") + (version "0.25.1") + (source (origin + (method url-fetch) + (uri (crate-uri "webpki-roots" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "15piy0vccppqb74li32gnn9l5a4ysxzwh8bp3qv6z8rhr2hyvin9")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + (list "--release" "--" + ;; This test wants network access. + "--skip=generated_code_is_fresh") + #:cargo-development-inputs + (("rust-percent-encoding" ,rust-percent-encoding-2) + ("rust-reqwest" ,rust-reqwest-0.11) + ("rust-ring" ,rust-ring-0.16) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-1) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.101) + ("rust-tokio" ,rust-tokio-1)))) + (native-inputs + (list perl pkg-config)) + (inputs + (list openssl)) + (home-page "https://github.com/rustls/webpki-roots") + (synopsis "Mozilla's CA root certificates for use with webpki") + (description "This package provides Mozilla's CA root certificates for use +with webpki.") + (license license:mpl2.0))) + (define-public rust-webpki-roots-0.22 (package + (inherit rust-webpki-roots-0.25) (name "rust-webpki-roots") (version "0.22.2") (source @@ -76733,17 +76768,9 @@ Verification.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0jbll0ys9jakrvv3l1i216bbgj7jbxr7ad2dihw28xcm7s8fnb2m")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-webpki" ,rust-webpki-0.22)))) - (native-inputs - (list perl)) - (home-page "https://github.com/rustls/webpki-roots") - (synopsis "Mozilla's CA root certificates for use with webpki") - (description "This package provides Mozilla's CA root certificates for use -with webpki.") - (license license:mpl2.0))) + (("rust-webpki" ,rust-webpki-0.22)))))) (define-public rust-webpki-roots-0.21 (package |