aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-03-14 09:18:28 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:41:08 +0300
commitc880ec5a613ed87eca858975bc512a0fa2aa4dc6 (patch)
treede2896866efef8e1d8fc644c7ed9e3f9de4c095b
parentf956e8499c4dda673fcfd01a14a4fc5b8690fd76 (diff)
downloadguix-c880ec5a613ed87eca858975bc512a0fa2aa4dc6.tar.gz
guix-c880ec5a613ed87eca858975bc512a0fa2aa4dc6.zip
gnu: rust-openssl-sys-0.9: Update to 0.9.101.
* gnu/packages/crates-io.scm (rust-openssl-sys-0.9): Update to 0.9.101. [source]: Adjust snippet to accept any version of rust-bindgen. [cargo-inputs]: Replace rust-bindgen-0.64 with 0.69. Change-Id: I0d3a6b01f2320318b4f666fecae61d16ce056578
-rw-r--r--gnu/packages/crates-io.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3b70d8d46d..7f77c7d27a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44116,14 +44116,14 @@ system for OpenSSL.")
(define-public rust-openssl-sys-0.9
(package
(name "rust-openssl-sys")
- (version "0.9.93")
+ (version "0.9.101")
(source
(origin
(method url-fetch)
(uri (crate-uri "openssl-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "078vnn4s18kj8m5sd7b684frhjnxjcjc9z7s7h4871s7q2j5ckfv"))
+ (base32 "1zwd35nc5bq7m26vjsmja4hxf3fzk389blgpmhpzr3p78krv18nx"))
(snippet
#~(begin
(use-modules (guix build utils))
@@ -44131,12 +44131,15 @@ system for OpenSSL.")
(substitute* "Cargo.toml.orig"
(("vendored = .*") "vendored = []\n")
((".*bssl.*") "")
- ((".*openssl-src.*") ""))
+ ((".*openssl-src.*") "")
+ ;; Allow any version of bindgen.
+ (("(bindgen = \\{ version =) \".*\"," _ bindgen)
+ (string-append bindgen "\"*\",")))
(copy-file "Cargo.toml.orig" "Cargo.toml")))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-bindgen" ,rust-bindgen-0.64)
+ (("rust-bindgen" ,rust-bindgen-0.69)
("rust-cc" ,rust-cc-1)
("rust-libc" ,rust-libc-0.2)
("rust-pkg-config" ,rust-pkg-config-0.3)