diff options
-rw-r--r-- | gnu/packages/crates-io.scm | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2f01dd2351..83c71f2340 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -67425,29 +67425,46 @@ native certificate store.") ("rust-webpki-roots" ,rust-webpki-roots-0.20)))) (native-inputs (list perl)))) -(define-public rust-rustls-pemfile-1 +(define-public rust-rustls-pemfile-2 (package (name "rust-rustls-pemfile") - (version "1.0.3") + (version "2.0.0") (source (origin (method url-fetch) (uri (crate-uri "rustls-pemfile" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1cplx6hgkr32nq31p3613b2sj7csrrq3zp6znx9vc1qx9c4qff9d")))) + (base32 "1x34xidvzn4br2vl8f8xwmhgbjv4lmlb0ggv5whlnk4yl87rir1m")))) (build-system cargo-build-system) (arguments - `(#:cargo-inputs - (("rust-base64" ,rust-base64-0.21)) - #:cargo-development-inputs - (("rust-bencher" ,rust-bencher-0.1)))) + `(#:cargo-inputs (("rust-base64" ,rust-base64-0.21) + ("rust-rustls-pki-types" ,rust-rustls-pki-types-1)) + #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1)))) (home-page "https://github.com/rustls/pemfile") (synopsis "Basic parser for PEM formatted keys and certificates") (description "This package provides a very basic parser for the PEM-encodings commonly used to store keys and certificates at rest.") (license (list license:asl2.0 license:isc license:expat)))) +(define-public rust-rustls-pemfile-1 + (package + (inherit rust-rustls-pemfile-2) + (name "rust-rustls-pemfile") + (version "1.0.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls-pemfile" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1cplx6hgkr32nq31p3613b2sj7csrrq3zp6znx9vc1qx9c4qff9d")))) + (arguments + `(#:cargo-inputs + (("rust-base64" ,rust-base64-0.21)) + #:cargo-development-inputs + (("rust-bencher" ,rust-bencher-0.1)))))) + (define-public rust-rustls-pemfile-0.2 (package (inherit rust-rustls-pemfile-1) |