aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-11-20 20:33:55 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:31 +0200
commit1007136bc39fc5516b1b8295f2d8c856323f2056 (patch)
tree264f6c0c3e487903231af7d22adabec51098f071
parent1325cce3330dfb33361abbe2fab18c657b6482c5 (diff)
downloadguix-1007136bc39fc5516b1b8295f2d8c856323f2056.tar.gz
guix-1007136bc39fc5516b1b8295f2d8c856323f2056.zip
gnu: rust-rustls-pki-types-1: Update to 1.10.0.
* gnu/packages/crates-tls.scm (rust-rustls-pki-types-1): Update to 1.10.0. [source]: Add snippet to allow for newer versions of dependencies. [cargo-development-inputs]: Add rust-crabgrind-0.1. [native-inputs]: Add valgrind. Change-Id: I490a1acde3cae79b9ceb5f710111999c3667ac4f
-rw-r--r--gnu/packages/crates-tls.scm16
1 files changed, 12 insertions, 4 deletions
diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm
index 9c610b2c37..0e36f1720f 100644
--- a/gnu/packages/crates-tls.scm
+++ b/gnu/packages/crates-tls.scm
@@ -44,7 +44,8 @@
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages rust-apps)
- #:use-module (gnu packages tls))
+ #:use-module (gnu packages tls)
+ #:use-module (gnu packages valgrind))
(define-public rust-asn1-0.15
(package
@@ -1617,18 +1618,25 @@ PEM-encodings commonly used to store keys and certificates at rest.")
(define-public rust-rustls-pki-types-1
(package
(name "rust-rustls-pki-types")
- (version "1.7.0")
+ (version "1.10.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustls-pki-types" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0banlc9xzwqrx8n0h4bd0igmq3z5hc72rn941lf22cp3gkkraqlp"))))
+ (base32 "0jv78c32pgf1i0bn7rzf4xdr9qh5wsvigp6akc1yhzls7hdj1w8n"))
+ (snippet
+ #~(begin (use-modules (guix build utils))
+ (substitute* "Cargo.toml"
+ (("\"=([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+ (string-append "\"^" version)))))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-web-time" ,rust-web-time-1))))
+ (("rust-web-time" ,rust-web-time-1))
+ #:cargo-development-inputs (("rust-crabgrind" ,rust-crabgrind-0.1))))
+ (native-inputs (list valgrind))
(home-page "https://github.com/rustls/pki-types")
(synopsis "Shared types for the rustls PKI ecosystem")
(description