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
This commit is contained in:
parent
f956e8499c
commit
c880ec5a61
1 changed files with 7 additions and 4 deletions
|
@ -44116,14 +44116,14 @@ system for OpenSSL.")
|
||||||
(define-public rust-openssl-sys-0.9
|
(define-public rust-openssl-sys-0.9
|
||||||
(package
|
(package
|
||||||
(name "rust-openssl-sys")
|
(name "rust-openssl-sys")
|
||||||
(version "0.9.93")
|
(version "0.9.101")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (crate-uri "openssl-sys" version))
|
(uri (crate-uri "openssl-sys" version))
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "078vnn4s18kj8m5sd7b684frhjnxjcjc9z7s7h4871s7q2j5ckfv"))
|
(base32 "1zwd35nc5bq7m26vjsmja4hxf3fzk389blgpmhpzr3p78krv18nx"))
|
||||||
(snippet
|
(snippet
|
||||||
#~(begin
|
#~(begin
|
||||||
(use-modules (guix build utils))
|
(use-modules (guix build utils))
|
||||||
|
@ -44131,12 +44131,15 @@ system for OpenSSL.")
|
||||||
(substitute* "Cargo.toml.orig"
|
(substitute* "Cargo.toml.orig"
|
||||||
(("vendored = .*") "vendored = []\n")
|
(("vendored = .*") "vendored = []\n")
|
||||||
((".*bssl.*") "")
|
((".*bssl.*") "")
|
||||||
((".*openssl-src.*") ""))
|
((".*openssl-src.*") "")
|
||||||
|
;; Allow any version of bindgen.
|
||||||
|
(("(bindgen = \\{ version =) \".*\"," _ bindgen)
|
||||||
|
(string-append bindgen "\"*\",")))
|
||||||
(copy-file "Cargo.toml.orig" "Cargo.toml")))))
|
(copy-file "Cargo.toml.orig" "Cargo.toml")))))
|
||||||
(build-system cargo-build-system)
|
(build-system cargo-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-bindgen" ,rust-bindgen-0.64)
|
(("rust-bindgen" ,rust-bindgen-0.69)
|
||||||
("rust-cc" ,rust-cc-1)
|
("rust-cc" ,rust-cc-1)
|
||||||
("rust-libc" ,rust-libc-0.2)
|
("rust-libc" ,rust-libc-0.2)
|
||||||
("rust-pkg-config" ,rust-pkg-config-0.3)
|
("rust-pkg-config" ,rust-pkg-config-0.3)
|
||||||
|
|
Reference in a new issue