From 6a37c4c549a78d0be6b0781aa4970456e48e94c6 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 29 Aug 2022 08:35:45 +0200 Subject: gnu: rust-openssl-0.10: Update to 0.10.41. * gnu/packages/crates-io.scm (rust-openssl-0.10): Update to 0.10.41. [arguments]: Do not skip build; replace rust-cfg-if-0.1 with rust-cfg-if-1; remove rust-lazy-static-1 and rust-tempdir-0.3; add rust-once-cell-1 and rust-openssl-macros-0.1. [inputs]: Add openssl. [native-inputs]: Add pkg-config. [description]: Update. --- gnu/packages/crates-io.scm | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 5961b09283..c0f06de9d3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -40295,32 +40295,33 @@ crate.") (define-public rust-openssl-0.10 (package (name "rust-openssl") - (version "0.10.30") - (source - (origin - (method url-fetch) - (uri (crate-uri "openssl" version)) - (file-name - (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1d5wwajanjw1q5d2y23yaq8rvbaqb20z53v7hfdryhb56vzmwmwd")))) + (version "0.10.41") + (source (origin + (method url-fetch) + (uri (crate-uri "openssl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1l2vpxq5ln326s64lbacqs4hq6k5yn2zhwqbyby0sj9nagvfp3v1")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) - ("rust-cfg-if" ,rust-cfg-if-0.1) + ("rust-cfg-if" ,rust-cfg-if-1) ("rust-foreign-types" ,rust-foreign-types-0.3) - ("rust-lazy-static" ,rust-lazy-static-1) ("rust-libc" ,rust-libc-0.2) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-openssl-macros" ,rust-openssl-macros-0.1) ("rust-openssl-sys" ,rust-openssl-sys-0.9)) #:cargo-development-inputs - (("rust-hex" ,rust-hex-0.3) - ("rust-tempdir" ,rust-tempdir-0.3)))) + (("rust-hex" ,rust-hex-0.3)))) + (native-inputs + (list pkg-config)) + (inputs + (list openssl)) (home-page "https://github.com/sfackler/rust-openssl") (synopsis "OpenSSL bindings") - (description "OpenSSL bindings.") + (description "This package provides OpenSSL bindings for Rust.") (license license:asl2.0))) (define-public rust-openssl-0.9 -- cgit v1.2.3