summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-24 10:06:19 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:38 +0200
commit9bd5c8f685ad8b78fa4634e7a63c72d2b67bdcf4 (patch)
treec9499e344452c68ef42bb1c48ca4075646c84196 /gnu/packages/crates-io.scm
parent518a70de53f8f19138c7fe336ae3b8c206d9ebb8 (diff)
gnu: Add rust-rustls-pemfile-2.
* gnu/packages/crates-io.scm (rust-rustls-pemfile-2): New variable. (rust-rustls-pemfile-1): Inherit from rust-rustls-pemfile-2. Change-Id: I347dc07e505bbe887402265db6ee5556757fd299
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm31
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)