diff options
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 5 | ||||
-rw-r--r-- | gnu/packages/patches/rust-openssl-sys-no-vendor.patch | 7 |
2 files changed, 7 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3e51a47de8..14f2e885d1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -39959,14 +39959,14 @@ system for OpenSSL.") (define-public rust-openssl-sys-0.9 (package (name "rust-openssl-sys") - (version "0.9.68") + (version "0.9.75") (source (origin (method url-fetch) (uri (crate-uri "openssl-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0l2ikxygkza3s5q3lvng4mhisdp2vdrvzkhpwhkx8vgnscjiymqw")) + (base32 "0bxlrsfkvryv179na416mvj0s90v9yngkmkkv8y1lm0h4w6bvyg5")) (patches (search-patches "rust-openssl-sys-no-vendor.patch")))) (build-system cargo-build-system) (arguments @@ -39974,6 +39974,7 @@ system for OpenSSL.") (("rust-libc" ,rust-libc-0.2) ;; Build dependencies: ("rust-autocfg" ,rust-autocfg-1) + ("rust-bindgen" ,rust-bindgen-0.59) ("rust-cc" ,rust-cc-1) ("rust-pkg-config" ,rust-pkg-config-0.3) ("rust-vcpkg" ,rust-vcpkg-0.2)))) diff --git a/gnu/packages/patches/rust-openssl-sys-no-vendor.patch b/gnu/packages/patches/rust-openssl-sys-no-vendor.patch index 9855faf8b2..3e300ea69e 100644 --- a/gnu/packages/patches/rust-openssl-sys-no-vendor.patch +++ b/gnu/packages/patches/rust-openssl-sys-no-vendor.patch @@ -6,12 +6,12 @@ Starting from rust-openssl-sys@0.9.69 Cargo.toml starts searching for openssl-3. --- a/Cargo.toml +++ b/Cargo.toml -@@ -31,14 +31,11 @@ +@@ -31,15 +31,12 @@ [build-dependencies.cc] version = "1.0" -[build-dependencies.openssl-src] --version = "111.0.1" +-version = "111" -optional = true - [build-dependencies.pkg-config] @@ -20,6 +20,7 @@ Starting from rust-openssl-sys@0.9.69 Cargo.toml starts searching for openssl-3. [features] vendored = ["openssl-src"] +openssl-src = [] + [target."cfg(target_env = \"msvc\")".build-dependencies.vcpkg] - version = "0.2" + version = "0.2.8" |